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 loongarch64: new target 2024-05-04 14:14:16 +08:00
autotools.mk
bpf.mk bpf: fix broken inclusion of system include 2024-05-03 14:53:11 +02:00
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk download: don't overwrite VERSION variable 2024-04-29 08:39:25 +02:00
feeds.mk build: add APK package build capabilities 2024-05-17 23:21:26 +03:00
hardened-ld-pie.specs
hardening.mk build: add option for building with stack-protector-all 2024-01-19 21:27:14 +01:00
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: bump 5.15 to 5.15.158 2024-05-12 12:16:18 +02:00
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-build.mk: add support for compiling only DTS 2024-02-08 19:57:28 +01:00
kernel-defaults.mk
kernel-version.mk
kernel.mk loongarch64: new target 2024-05-04 14:14:16 +08:00
logo.png
logo.svg
meson.mk tools/meson: static host and both libraries 2024-03-29 23:42:22 +01:00
netfilter.mk
nls.mk
openssl-module.mk
package-bin.mk
package-defaults.mk treewide: use APK compatible version schema 2024-03-22 22:14:22 +01:00
package-dumpinfo.mk build: remove duplicate MAINTAINER from package-dumpinfo.mk 2024-05-07 22:24:10 +02:00
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 kernel-build.mk: add support for compiling only DTS 2024-02-08 19:57:28 +01:00
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 include/trusted-firmware-a.mk: allow overriding package install template 2024-05-07 22:01:42 +02:00
u-boot.mk u-boot.mk: override default PATH to avoid pick hostpkg python 2024-03-02 14:17:31 +01:00
uclibc++.mk
unpack.mk
verbose.mk verbose.mk: fallback to standard file descriptors 2024-01-05 16:25:14 +01:00
version.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00