openwrt/include
Christian Marangi 98703bf458
target.mk: add support to early scan of default package configuration
There is currently a problem with how some option that modify default
package configuration are parsed.

When the DEFAULT_PACKAGES list is composed, DUMP is used. Using DUMP
disable the loading of .config to remove and modification done by the
user to prevent any kind of conflict or strange thing one creating all
the info for each target. Because of this, .config is never parsed and
any check to CONFIG doesn't work (for the first creation of .config).

Later image build will check what is set in .config and the default
package list won't be parsed anymore.

This is problematic for some config that are OK to parse, for example
SELINUX or USE_APK.

To better handle them add some logic when DUMP is used to selectively
parse these option if present in a to-be-init .config so that option are
correctly parsed and DEFAULT_PACKAGES is correctly set.

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
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 target.mk: add support to early scan of default package configuration 2024-06-11 23:58:16 +02:00
toolchain-build.mk
toplevel.mk build: align SOURCE path for build system and SDK 2024-02-17 14:45:35 +01: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
version.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00