openwrt/scripts
Felix Fietkau 6d5c71f748 build: auto-generate CONFLICTS for package variants sharing PROVIDES
Packages using PROVIDES to declare virtual package alternatives (like
tc-tiny, tc-bpf, tc-full all providing 'tc') could be simultaneously
selected as =y, causing installation conflicts. The PROVIDES mechanism
only handles dependency resolution, not mutual exclusion.

Add add_implicit_provides_conflicts() to automatically generate CONFLICTS
from default variants to non-default variants sharing the same PROVIDES.
This ensures only one variant can be built-in (=y) at a time.

Skip generating implicit conflicts when the non-default already has
explicit CONFLICTS with the default, to avoid Kconfig dependency cycles
with the select-based dependency resolution.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-01-22 10:20:17 +00:00
..
config
flashing scripts/jungo-image: Fix up whitespace 2025-12-10 19:11:13 +01:00
belkin-header.py
brcmImage.pl
bundle-libraries.sh
cameo-imghdr.py
cameo-tag.py
cfe-bin-header.py
cfe-partition-tag.py
cfe-wfi-tag.py
check-toolchain-clean.sh
checkpatch.pl
clean-package.sh
cleanfile
cleanpatch
combined-ext-image.sh
combined-image.sh
command_all.sh
config.guess
config.rpath
config.sub
const_structs.checkpatch
deptest.sh
diffconfig.sh
dl_cleanup.py
dl_github_archive.py
download-check-artifact.sh
download.pl download: use reasonable timeout and retry parameters 2025-11-15 15:47:23 +01:00
dump-target-info.pl
env
ext-toolchain.sh
ext-tools.sh
feeds scripts: feeds: Don’t hardcode IS_TTY 2025-11-12 12:05:53 +01:00
fixup-makefile.pl
functions.sh
gen-dependencies.sh
gen_image_generic.sh
gen_netgear_rootfs_node.sh filogic: add support for Netgear EAX17 2025-11-24 00:57:19 +01:00
get_source_date_epoch.sh
getver.sh
ipkg-build scripts,ipkg-build: Fix error message for invalid package name 2025-12-16 01:39:54 +01:00
ipkg-make-index.sh
ipkg-remove
json_add_image_info.py
json_overview_image_info.py
kconfig-reorder.sh
kconfig.pl
kernel_bump.sh scripts/kernel_bump: adjust commit messages 2025-12-09 00:06:07 +01:00
linksys-image.sh
make-index-json.py scripts/make-index-json: ensure that manifest output is in opkg format 2025-11-01 19:42:20 +01:00
make-ipkg-dir.sh
md5sum
metadata.pm build: add support for virtual provides 2025-12-31 18:16:48 +01:00
mkhash.c
mkits-qsdk-ipq-image.sh
mkits-zyxel-fit-filogic.sh
mkits-zyxel-fit.sh
mkits.sh scripts/mkits.sh: move out .pagesync generation for RootFS blob 2025-10-23 18:14:01 +02:00
moxa-encode-fw.py
nand-fwupgradecfg-gen.sh ramips: add support for Plasma Cloud PAX1800-Lite 2025-10-04 20:30:36 +02:00
netgear-encrypted-factory.py
noop.sh
om-fwupgradecfg-gen.sh
package-metadata.pl build: auto-generate CONFLICTS for package variants sharing PROVIDES 2026-01-22 10:20:17 +00:00
pad_image
patch-kernel.sh scripts/patch-kernel.sh: do not try to check files after patch 2025-09-29 13:33:07 +02:00
patch-specs.sh
portable_date.sh
projectsmirrors.json projectsmirrors: switch to HTTPS 2026-01-10 19:52:23 +01:00
qemustart
redboot-script.pl
relink-lib.sh
remote-gdb
rstrip.sh
sercomm-crypto.py
sercomm-kernel-header.py
sercomm-partition-tag.py
sercomm-payload.py
sercomm-pid.py
sign_images.sh
size_compare.sh
slugimage.pl
spelling.txt
srecimage.pl
strip-kmod.sh
symlink-tree.sh
sysupgrade-tar.sh
target-metadata.pl
time.pl
timestamp.pl
tplink-mkimage-2022.py
ubinize-image.sh
xxdi.pl