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 Revert "build: use config.site generated by autoconf-lean, drop hardcoded sitefiles" 2021-03-02 11:35:45 +00:00
autotools.mk build: prevent dupes in autotools.mk 2021-03-01 16:16:32 +00:00
cmake.mk Revert "build: replace which with Bash command built-in" 2021-03-03 22:51:39 +01:00
debug.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
depends.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
feeds.mk build: fix getting ABI version for binary packages from the same source package 2021-02-15 23:11:44 +01:00
hardened-ld-pie.specs build: add hardened builds with PIE (ASLR) support 2018-01-27 16:46:45 +01:00
hardening.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
host-build.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
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 build: use SPDX license tags 2021-02-05 14:54:47 +01:00
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 build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules 2021-03-18 10:53:26 +01:00
logo.png include: update logo with better kerning 2021-01-18 09:31:39 -10:00
logo.svg include: update logo with better kerning 2021-01-18 09:31:39 -10:00
netfilter.mk netfilter: remove no-op kconfig symbols 2021-05-01 00:37:15 +02:00
nls.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-bin.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-defaults.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-dumpinfo.mk build: drop ABI version from metadata 2021-02-14 19:41:52 +01:00
package-ipkg.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
package-seccomp.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package.mk Revert "build: use config.site generated by autoconf-lean, drop hardcoded sitefiles" 2021-03-02 11:35:45 +00:00
prereq-build.mk prereq-build: g++ formatting and consistency fixes 2021-05-23 15:11:38 +02:00
prereq.mk Revert "build: replace which with Bash command built-in" 2021-03-03 22:51:39 +01:00
quilt.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
rootfs.mk build: reduce cleanup binary calls in rootfs.mk 2020-12-05 22:07:00 -10:00
scan.awk build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
subdir.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
target.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
toolchain-build.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
toplevel.mk toplevel.mk: remove legacy packages feed from 'make distclean' 2021-02-20 13:11:10 -10:00
trusted-firmware-a.mk trusted-firmware-a: fix project name spelling 2021-02-13 20:11:57 +00:00
u-boot.mk u-boot.mk: switch download to https 2020-04-26 21:20:47 +02:00
uclibc++.mk libcxx[abi]: remove 2020-12-07 10:46:43 -10:00
unpack.mk include: use cpio from staging dir 2021-02-28 00:09:09 +00:00
verbose.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
version.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00