Commit Graph

5358 Commits

Author SHA1 Message Date
Laura Abbott
10b3a150cf Move the with_vanilla up with the rest of the macros 2019-10-29 15:28:51 -04:00
Laura Abbott
1cf4120f6f Fix debuginfo
From the original RHEL patch:

    This extra '+' causes problems with the regular expression used with
    /usr/lib/rpm/find-debuginfo.sh script from rpm-build, which is used to filter
    the debug files to the corresponding debuginfo packages. The '+' character
    in the release is interpreted as a regular expression operator and the
    debuginfo filter fails, with the build failing on an empty debuginfo file list.

    Which means we need to escape the extra '+' character if we want debuginfo
    filter to work. I tried to use '\' to escape, but rpm "eats" that, in testing
    '[+]' worked so is what I'm using to fix/workaround this problem. When RHEL 8
    drops the the extra +<number> in the future, we can remove this fix/workaround.

This problem is likely to come up so just add it in now.
2019-10-29 15:28:51 -04:00
Laura Abbott
c0312b2e60 Make turning off configchecks an official ---with option
Fedora does some validation on config options to catch
errors. There may be cases when we want to turn off that
checking because it doesn't actually matter. Make this a
full --with option to make it easier to turn off.
2019-10-29 15:28:51 -04:00
Laura Abbott
d9864a2973 Switch up some Fedora options
Downstream has different requirements than Fedora in some places.
Add some macros to support both cases.
2019-10-29 15:28:51 -04:00
Laura Abbott
5648544aab Add mod-internal package
Some of the downstream users want to package some modules for
internal use only. While Fedora isn't internal, it's still
useful to have packaging aligned. Add a few modules to this
package.
2019-10-29 15:28:51 -04:00
Laura Abbott
11fa12d6aa Bring in packaging support for kABI (no we are not getting an ABI)
Other products downstream of Fedora offer kernel ABI guarantees.
Fedora doesn't offer this and have no plans to do so but it's
useful to at least have the packaging in our tree. Add support.
2019-10-29 15:28:51 -04:00
Laura Abbott
dd53be813b Use the dist tag for the hard link instead of a wider fc* tag
More generic for other dist-tags
2019-10-29 15:28:51 -04:00
Laura Abbott
5a0c912794 Add some expanded UEFI support
Fedora currently only supports x86_64 secureboot signing.
There's ongoing work to enable other arches though. For now,
just bring in the packaging support with some of it commented
out.
2019-10-29 15:28:51 -04:00
Laura Abbott
8044841427 Add some weak-updates
Fedora doesn't use this at the moment but we might want it later.
Add support for weak module updates. This should have no affect.
2019-10-29 15:28:51 -04:00
Laura Abbott
c68fd73909 Add support for building ipaclones
While Fedora doesn't officially support kpatch, there's work
being done to enable kpatch elsewhere. Add the packaging work
but don't actually build anything.
2019-10-29 15:28:51 -04:00
Laura Abbott
1d23fdad0f Package selftests
It can be useful to have some of the selftests built for future
testing. Package them up but don't build quite yet.
2019-10-29 15:28:51 -04:00
Jeremy Cline
f16f4a5c11 Linux v5.4-rc5 2019-10-28 15:10:20 +00:00
Jeremy Cline
262dbe5b8d Disable debugging options. 2019-10-28 15:10:20 +00:00
Jeremy Cline
691a6a34bd Enable FS_VERITY (rhbz 1765933)
Signed-off-by: Jeremy Cline <jcline@redhat.com>
2019-10-28 15:10:20 +00:00
Jeremy Cline
849afaa577 Linux v5.4-rc4-85-gf116b96685a0 2019-10-24 13:24:08 +00:00
Jeremy Cline
3d5297b163 Linux v5.4-rc4-37-g13b86bc4cd64 2019-10-23 13:40:57 +00:00
Jeremy Cline
82c9667fb9 Linux v5.4-rc4-18-g3b7c59a1950c 2019-10-22 14:03:39 +00:00
Jeremy Cline
3d03e88428 Reenable debugging options. 2019-10-22 13:50:07 +00:00
Laura Abbott
c08fbbf9f7 Update cross_headers commands
The kernel currently builds the headers in a separate repository but
rebuilds may want to build it from the same srpm. Make sure the
cross command actually works.
2019-10-22 08:43:38 -04:00
Laura Abbott
be43f9d094 Do a more complete she-bang mangling
mangle a few more files that other buildroots found
2019-10-22 08:43:38 -04:00
Laura Abbott
204759e479 Remove dead CheckConfigs 2019-10-22 08:43:38 -04:00
Laura Abbott
43d94d3476 Tweak some build requires
The gcc-plugin-devel was a noble experiment that doesn't seem to be
something we'll shipp anytime soon. Remove it.

Building the headers now requires rsync
2019-10-22 08:43:38 -04:00
Laura Abbott
ef71879e7a Bring back kernel-doc
Like a zombie, this is back from the grave. At least bring back the
macros for building.
2019-10-22 08:43:38 -04:00
Laura Abbott
48704bf821 Clean up some macros
- we sign modules on all arches now
- we zip modules on all arches
- tweak the comment
2019-10-22 08:43:37 -04:00
Laura Abbott
483dcef3b1 Consolodate cflags
The build flags for building are used inconsistently. Clean things up
to make it easier to understand.
2019-10-22 08:43:37 -04:00
Laura Abbott
9a4aee9f8d Add support for KCFLAGS
In preparation for some upcoming work, add support for passing KCFLAGS
via a macro that's currently undefined.
2019-10-22 08:43:37 -04:00
Laura Abbott
a17ef5964d Add support for building with gcov
gcov is useful for coverage testing. Add support for building the kernel.
2019-10-22 08:43:37 -04:00
Laura Abbott
f691fd9d87 Add DoModules to kernel build
There's upcoming work to build kernel variants without modules. Add
the infrastructure to support this.
2019-10-22 08:43:37 -04:00
Peter Robinson
5769e27048 aarch64: drop unrelated comment for a long upstreamed (Feb 2016) patch 2019-10-21 22:51:56 +01:00
Peter Robinson
2331b6cea5 aarch64: Jetson TX1: drop old patch no longer needed 2019-10-21 22:47:11 +01:00
Jeremy Cline
5ff50d0b22 Linux v5.4-rc4 2019-10-21 14:00:52 +00:00
Jeremy Cline
addab92228 Disable debugging options. 2019-10-21 13:52:30 +00:00
Jeremy Cline
d82fe1b5f1 Linux v5.4-rc3-99-g0e2adab6cf28 2019-10-18 14:23:40 +00:00
Jeremy Cline
743cfa0e88 Linux v5.4-rc3-18-g5bc52f64e884 2019-10-15 15:17:49 +00:00
Jeremy Cline
c579b07bb1 Reenable debugging options. 2019-10-15 15:11:25 +00:00
Peter Robinson
b659e23dbc USB_RIO500 was removed in 5.4-rc3 2019-10-15 11:55:04 +01:00
Peter Robinson
4d05f37b7c regen configs for DRM_TDFX change 2019-10-15 11:54:34 +01:00
Peter Robinson
9f8bb9191f fix booting on ARMv7 due to OPTIMIZE_INLINING now being forced, drop old i.MX MMC patch, fix for UFEI on ARMv7 on some devices 2019-10-15 08:57:19 +01:00
Jeremy Cline
9e691ad13a Linux v5.4-rc3 2019-10-14 15:48:06 +00:00
Jeremy Cline
0b7fe8058b Disable debugging options. 2019-10-14 15:26:28 +00:00
Paul Bolle
16a89be941 configs: fix typo "CONFIG_DRM_TDFX=n"
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-10-14 15:24:18 +00:00
Laura Abbott
bfc2ea1270 Drop old Input workaround
Based on comments from the authors, this should be worked around in
libinput now.
2019-10-14 10:03:12 -04:00
Peter Robinson
418aac7518 add forgotten hisi SPI config 2019-10-12 15:17:53 +01:00
Peter Robinson
1aa5ee4622 arm: be less harsh on the omap/am33xx disable, it's just CRYPTO_DEV_OMAP_AES that's broken 2019-10-12 15:06:34 +01:00
Peter Robinson
ed22f0605d arm64: enable spi flash memory on aarch64 too 2019-10-11 17:19:22 +01:00
Jeremy Cline
b4ce63cb54 Linux v5.4-rc2-96-gfb20da6af705 2019-10-10 17:51:10 +00:00
Paul Bolle
58bd8a39c3 Kconfig symbol cleanup for v5.4-rc1
Two Kconfig symbols were part of upstream v5.3-rc1 but didn't make it
into v5.3 (for reasons I couldn't be bothered to unearth): PREEMPT_LL
and SOUNDWIRE_BUS. Remove them from our configuration generation system
too.

Commit 3e636fe3a6 ("Remove patch for GCC VTA") forgot to clean up the
configs/ directory. Do so now.

Commit e21e52b608 ("Linux v5.3-13236-g97f9a3c4eee5") forgot to remove
CONFIG_LOCK_DOWN_KERNEL and CONFIG_LOCK_DOWN_KERNEL_FORCE from the
configs/ directory. Do so now.

Commit 5c0d4daff4 ("Remove crash driver") forgot to clean up the
configs/ directory. Do so now.

There are 22 Kconfig symbols referenced in the files used for
configuration generation and in the shipped .config files that were
dropped in upstream v5.4-rc1. The references to these symbols can be
safely removed.

These symbols are:
    CONFIG_ARM_QCOM_CPUFREQ_KRYO
    CONFIG_CRYPTO_AEGIS128L
    CONFIG_CRYPTO_AEGIS128L_AESNI_SSE2
    CONFIG_CRYPTO_AEGIS256
    CONFIG_CRYPTO_AEGIS256_AESNI_SSE2
    CONFIG_CRYPTO_AES_586
    CONFIG_CRYPTO_AES_X86_64
    CONFIG_CRYPTO_MORUS1280
    CONFIG_CRYPTO_MORUS1280_AVX2
    CONFIG_CRYPTO_MORUS1280_SSE2
    CONFIG_CRYPTO_MORUS640
    CONFIG_CRYPTO_MORUS640_SSE2
    CONFIG_DRM_TINYDRM
    CONFIG_HISI_KIRIN_DW_DSI
    CONFIG_I2C_BCM2048
    CONFIG_KEXEC_VERIFY_SIG
    CONFIG_MFD_CROS_EC_CHARDEV
    CONFIG_MTD_M25P80
    CONFIG_SENSORS_ADS1015
    CONFIG_SERIAL_8250_MOXA
    CONFIG_SGI_IOC4
    CONFIG_TINYDRM_MIPI_DBI

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-10-10 11:54:27 -04:00
Dan Horák
108fcb8fc7 re-enable HDA sound drivers on PPC 2019-10-10 11:26:48 -04:00
Javier Martinez Canillas
89ddbf781a Enable CONFIG_EFI_TEST as a module (rhbz 1759325)
The driver is needed for testing purposes, enable it on the architectures
where EFI is supported. Also, disallow access to the registered device if
the kernel is locked down.
2019-10-10 09:55:31 -04:00
Laura Abbott
0367ea2bfd Add fix for mount api change on shmem (rhbz 1757104) 2019-10-08 13:23:13 -04:00