Openwrt/include
Sebastian Kemper 54070a1f5c build: fix regression for kernels < 5.10
This fixes a regression introduced with commit
5ed1e5140a ("build: build kernel image
before building modules/packages").

Before this commit the make target would always include "modules",
resulting in a MODPOST and a complete Module.symvers file. Since this
commit a MODPOST of the kernel modules is not guaranteed for kernels <
5.10. This results in some broken SDKs in which external packages that
depend on exported symbols from kernel modules fail to compile.

Adding "modules" back to the calls to the CompileImage defines fixes the
regression. For kernels > 5.10 this is not needed, but it doesn't cause
any harm either.

Tested with kernels 5.4.x and 5.10.x.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-05-25 19:46:13 +02:00
..
site
autotools.mk
cmake.mk
debug.mk
depends.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
device_table.txt
download.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk
image-commands.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
image.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
kernel-build.mk
kernel-defaults.mk build: fix regression for kernels < 5.10 2021-05-25 19:46:13 +02:00
kernel-version.mk kernel: bump 5.4 to 5.4.121 2021-05-23 15:09:06 +02:00
kernel.mk
logo.png include: update logo with better kerning 2021-01-18 09:31:39 -10:00
logo.svg
netfilter.mk
nls.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
package-seccomp.mk
package.mk
prereq-build.mk prereq-build: g++ formatting and consistency fixes 2021-05-23 15:11:38 +02:00
prereq.mk
quilt.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
rootfs.mk
scan.awk
scan.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
shell.sh
subdir.mk
target.mk
toolchain-build.mk
toplevel.mk
trusted-firmware-a.mk
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk