lede/include
John Thomson 761b79a272 kernel: fix KernelPackage when all KCONFIG are versioned
If a kernel package was defined where all KCONFIG symbols were dynamic,
and versioned, no FILES would be installed, as the foreach evaluation was
providing the value of the variable defined by the KCONFIG symbol name
including the version test

Fix this by calling the version_filter function on the list of KCONFIG
variable names run through by foreach

Example, kernel 6.1:
KCONFIG:=CONFIG_OLD@lt6.1 CONFIG_NEW@ge6.1
filter-out any KCONFIG settings forced by package:
CONFIG_OLD@lt6.1 CONFIG_NEW@ge6.1
there are dynamic settings, so for each of them,
get the value of the make variable defined by symbol name:
    CONFIG_OLD@lt6.1 is not set
    CONFIG_NEW@ge6.1 is not set
  versus
    CONFIG_OLD is not set
    CONFIG_NEW=m
test if any of these are m, or y
if yes, install files, otherwise, nothing to install

Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
2023-07-11 21:54:03 +08:00
..
site generic: groundwork for RISC-V 2023-06-08 23:43:19 +08:00
autotools.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
bpf.mk treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +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 treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
image-commands.mk build: Allow specifying uImage time 2023-06-07 21:17:28 +08:00
image.mk build: Allow specifying uImage time 2023-06-07 21:17:28 +08:00
kernel-5.4 kernel: bump to 5.4.247, 6.1.34 (#11314) 2023-06-18 01:07:34 +08:00
kernel-5.10 kernel: bump 5.10 to 5.10.183 (#11301) 2023-06-12 12:08:04 +08:00
kernel-5.15 kernel: bump 5.15 to 5.15.120 2023-07-08 15:58:52 +08:00
kernel-6.1 kernel: bump 6.1 to 6.1.38 2023-07-08 15:56:38 +08:00
kernel-build.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
kernel-defaults.mk treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
kernel-version.mk kernel: fix wrong detection of Linux-Testing-Version in makefile DUMP 2023-06-01 15:29:41 +08:00
kernel.mk kernel: fix KernelPackage when all KCONFIG are versioned 2023-07-11 21:54:03 +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 treewide: sync with upstream (#10720) 2023-01-04 15:41:15 +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 treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
prereq.mk treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +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 treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +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 generic: groundwork for RISC-V 2023-06-08 23:43:19 +08:00
toolchain-build.mk include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
toplevel.mk treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
trusted-firmware-a.mk treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +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 treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +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