lede/include
Hauke Mehrtens b533cb3266 kernel: Make KERNEL_MAKEOPTS recursively expanded
KERNEL_MAKEOPTS will get expanded when it is used and not when it is
defined in the kernel.mk file now. This fixes problems finding dependent
kernel modules when it is used by a kernel module package.

Without this change the build of packages which depend on other out of
tree modules failed when they used KERNEL_MAKE because some symbols could
not be found. This happened because KERNEL_MAKE_FLAGS which contains a
"if $(__package_mk)" was  evaluated where KERNEL_MAKEOPTS was defined
and not when the KERNEL_MAKE was used. For packages which included
kernel.mk before package.mk we saw this problem. One workaround
was to use the correct include order and the other one was to not
use KERNEL_MAKE_FLAGS, but copy its content.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-12-18 12:19:56 +08:00
..
site Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
autotools.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
bpf.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
cmake.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
debug.mk add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
depends.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
device_table.txt update source 2017-09-06 19:19:45 +08:00
download.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
feeds.mk build: ensure that dash isn't prepended twice to abi version suffix 2021-06-16 18:13:00 +08:00
hardened-ld-pie.specs Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
hardening.mk add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
host-build.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
image-commands.mk build: make sure that $(STAGING_DIR_IMAGE) exists 2022-12-07 23:26:19 +08:00
image.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
kernel-5.4 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
kernel-5.10 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
kernel-5.15 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
kernel-6.1 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
kernel-build.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
kernel-defaults.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
kernel-version.mk kernel: split kernel version to dedicated files (#8692) 2022-01-15 10:40:27 +08:00
kernel.mk kernel: Make KERNEL_MAKEOPTS recursively expanded 2022-12-18 12:19:56 +08:00
logo.png x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
logo.svg x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
meson.mk tools/meson: sync with upstream 2022-10-23 12:19:36 +08:00
netfilter.mk kernel: kmod-ipt-ulog: Remove package 2022-12-15 01:47:28 +08:00
nls.mk nls.mk: fixup cmake packages 2022-11-28 10:50:28 +08:00
openssl-engine.mk openssl: move engine.mk to INCLUDE_DIR (#9127) 2022-03-25 15:03:58 +08:00
package-bin.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
package-defaults.mk add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
package-dumpinfo.mk add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
package-ipkg.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
package-seccomp.mk add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
package.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
prereq-build.mk build: add gzip to prereq-build.mk 2022-12-08 00:06:20 +08:00
prereq.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
quilt.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
rootfs.mk add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
scan.awk update source 2017-09-06 19:19:45 +08:00
scan.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
shell.sh x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
subdir.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
target.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
toolchain-build.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
toplevel.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
trusted-firmware-a.mk trusted-firmware-a.mk: fix build with binutils 2.39 2022-12-07 23:27:15 +08:00
u-boot.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
uclibc++.mk sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
unpack.mk x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
verbose.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
version.mk x64: fix grub2 booting 2021-06-15 17:58:07 +08:00