openwrt/include
Robert Marko 6b0bbe3223 image: respect DEFAULT and BROKEN when Default profile is selected
Currently, when you select the Default profile it does not honor DEFAULT:=n
nor BROKEN:=y in device profiles but rather just tries to build all of them.

This may work when building directly, but when using Image Builder it will
always fail since no kernel or anything else is present for devices that
have DEFAULT:=n or BROKEN:=Y set since those are skipped during build.

So, lets look for DEFAULT being set to "n" or BROKEN being set to "y" and
then remove clear _PROFILE_SET so they dont end up being marked for
installation.

Fixes: #18410
Link: https://github.com/openwrt/openwrt/pull/18814
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit f060615a78)
2025-05-24 21:51:55 +02:00
..
site build: autoconf: set ac_cv_func_setresuid=true 2024-09-15 02:03:25 +02:00
autotools.mk include: autotools: do not symlink files in autoreconf 2024-08-29 20:06:02 +02:00
bpf.mk
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk
feeds.mk build: Unconditionally append kmod feed for BuildBot 2024-12-03 12:42:34 +01:00
hardened-ld-pie.specs
hardening.mk
host-build.mk host-build: always define Host/Prepare/Default 2024-05-22 11:59:23 +02:00
image-commands.mk mediatek: Moved recovery image creation to include/image-commands.mk 2024-07-08 22:51:11 +02:00
image.mk image: respect DEFAULT and BROKEN when Default profile is selected 2025-05-24 21:51:55 +02:00
kernel-5.15 kernel: Update to version 5.15.183 2025-05-24 16:50:43 +02:00
kernel-build.mk kernel-build.mk: add support for compiling only DTS 2024-02-10 13:29:27 +01:00
kernel-defaults.mk image: Fix the CONFIG_EXTERNAL_CPIO logic 2023-10-24 14:38:58 +02:00
kernel-version.mk kernel: fix wrong detection of Linux-Testing-Version in makefile DUMP 2023-06-12 22:10:11 +02:00
kernel.mk kernel: fix KernelPackage when all KCONFIG are versioned 2023-07-08 15:43:59 +02:00
logo.png
logo.svg
meson.mk
netfilter.mk kernel: Extract kmod-nf-dup-inet 2024-07-08 21:13:24 +02:00
nls.mk
openssl-module.mk
package-bin.mk
package-defaults.mk build: align SOURCE path for build system and SDK 2024-09-23 14:34:46 +02:00
package-dumpinfo.mk package-dumpinfo,metadata: add ABI version information to package index 2023-11-02 14:44:46 +00:00
package-ipkg.mk
package-seccomp.mk
package.mk
prereq-build.mk
prereq.mk prereq: merge common cases in SetupHostCommand 2023-10-27 01:03:38 +02:00
quilt.mk quilt.mk: don't error on refresh/update if patches doesn't exist 2024-05-22 12:24:53 +02:00
rootfs.mk
scan.awk
scan.mk scan.mk: do not silence output of dump phase 2023-11-13 14:02:38 +01:00
shell.sh
subdir.mk kernel-build.mk: add support for compiling only DTS 2024-02-10 13:29:27 +01:00
target.mk target.mk: fix arm architecture level detection 2024-07-07 13:56:14 +02:00
toolchain-build.mk
toplevel.mk build: align SOURCE path for build system and SDK 2024-09-23 14:34:46 +02:00
trusted-firmware-a.mk
u-boot.mk u-boot.mk: add support for config customization 2023-06-13 14:15:21 +02:00
uclibc++.mk
unpack.mk
verbose.mk
version.mk OpenWrt v23.05.5: revert to branch defaults 2024-09-24 00:53:40 +02:00