1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00
openwrt/include
Christian Marangi 9a52ec4fa0
toplevel.mk: implement logic to invalidate targetinfo with some config
Implement some logic to invalidate targetinfo files in tmp with the
changing of some config.

Some config might affect DEFAULT_PACKAGES list but DEFAULT_PACKAGES is
only evaluated once. This cause the interesting scenario where someone
install feeds packages, targetinfo is evaluated in tmp and then add some
config like CONFIG_USE_APK. Using make defconfig will still select OPKG
as default package as DEFAULT_PACKAGES in targetinfo has been already
evaluated in the feeds install and is never updated.

To handle this add some logic in toplevel.mk to cache the current state
of these special config and wipe targetinfo when these change.

This cause the targetinfo to be reevaluated and handle this REALLY
corner case.

Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-11 23:58:16 +02:00
..
site
autotools.mk
bpf.mk
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk
feeds.mk build: add APK package build capabilities 2024-05-17 23:21:26 +03:00
hardened-ld-pie.specs
hardening.mk
host-build.mk host-build: always define Host/Prepare/Default 2024-05-22 11:38:49 +02:00
image-commands.mk build: move Build/buffalo-trx to image-commands.mk 2024-06-05 21:14:16 +02:00
image.mk build: add APK package build capabilities 2024-05-17 23:21:26 +03:00
kernel-5.15
kernel-6.1 kernel: bump 6.1 to 6.1.92 2024-06-08 14:16:19 +02:00
kernel-6.6 kernel: bump 6.6 to 6.6.32 2024-05-30 00:04:27 +02:00
kernel-build.mk
kernel-defaults.mk
kernel-version.mk
kernel.mk
logo.png
logo.svg
meson.mk
netfilter.mk
nls.mk
openssl-module.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-pack.mk include/package-pack: add special handling for CONTROL conffiles 2024-06-11 23:58:13 +02:00
package-seccomp.mk
package.mk build: add APK package build capabilities 2024-05-17 23:21:26 +03:00
prereq-build.mk
prereq.mk
quilt.mk
rootfs.mk include/rootfs: improve readability of OPKG status fixup block 2024-06-11 23:58:12 +02:00
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk toplevel.mk: implement logic to invalidate targetinfo with some config 2024-06-11 23:58:16 +02:00
toolchain-build.mk
toplevel.mk toplevel.mk: implement logic to invalidate targetinfo with some config 2024-06-11 23:58:16 +02:00
trusted-firmware-a.mk
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk