openwrt/include
John Thomson b3448b3fdb 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-04 19:29:41 +02:00
..
site generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
autotools.mk autotools: add list of fake paths to tools 2023-05-04 06:07:26 +02:00
bpf.mk bpf: ignore missing LLVM bins on package for non compile steps 2023-01-19 00:29:09 +01:00
cmake.mk
debug.mk
depends.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
device_table.txt
download.mk download: create immutable subversion checkout archive 2023-05-18 16:17:52 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk host-build: add support for a stampfile per installed binary 2023-06-05 08:31:53 +02:00
image-commands.mk image: add additional fields to Netgear encrypted image 2023-07-01 14:42:11 +02:00
image.mk image: introduce DEVICE_DTC_FLAGS and DEVICE_DTCO_FLAGS 2023-06-06 13:09:28 +01:00
kernel-5.15 kernel: bump 5.15 to 5.15.119 2023-07-01 11:42:11 +02:00
kernel-6.1 kernel: bump 6.1 to 6.1.35 2023-06-23 23:07:17 +02:00
kernel-build.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
kernel-defaults.mk kernel: add CONFIG_INITRAMFS_PRESERVE_MTIME config to Initramfs function 2023-05-22 22:28:18 +02:00
kernel-version.mk kernel: fix wrong detection of Linux-Testing-Version in makefile DUMP 2023-05-31 20:28:40 +02:00
kernel.mk kernel: fix KernelPackage when all KCONFIG are versioned 2023-07-04 19:29:41 +02:00
logo.png
logo.svg
meson.mk
netfilter.mk netfilter: add kmod-nf-conntrack 2023-02-18 17:12:30 +01:00
nls.mk nls.mk: fixup cmake packages 2022-11-27 00:52:06 +01:00
openssl-module.mk openssl: add legacy provider 2023-04-05 08:24:49 -03:00
package-bin.mk
package-defaults.mk build: disable automake dependency tracking 2023-03-13 22:53:41 +01:00
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk build: export GIT_CEILING_DIRECTORIES for package builds 2023-05-31 19:33:00 +02:00
prereq-build.mk prereq-build: add missing check for Perl IPC::Cmd 2023-05-28 08:58:06 +02:00
prereq.mk prereq-build: replace relative symlinks only if broken 2023-06-05 08:31:52 +02:00
quilt.mk
rootfs.mk
scan.awk
scan.mk treewide: add ORIG_PATH variable 2023-06-05 08:31:47 +02:00
shell.sh
subdir.mk
target.mk generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
toolchain-build.mk
toplevel.mk treewide: add ORIG_PATH variable 2023-06-05 08:31:47 +02:00
trusted-firmware-a.mk trusted-firmware-a.mk: fix build with binutils 2.39+ 2023-01-21 11:55:23 +01:00
u-boot.mk u-boot.mk: add support for config customization 2023-06-10 21:31:07 +02:00
uclibc++.mk
unpack.mk include: use libdeflate's gzip to decompress 2023-01-17 21:40:18 +01:00
verbose.mk
version.mk