Files
openwrt-mirror/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
..
2022-07-05 10:18:06 +02:00
2022-04-16 14:53:17 +02:00
2022-04-16 14:53:17 +02:00
2021-10-31 21:24:47 +01:00
2021-05-13 15:13:15 +02:00
2022-01-17 09:14:26 +01:00
2025-11-12 12:05:53 +01:00
2016-03-24 22:40:13 +01:00
2021-10-31 21:24:47 +01:00
2021-10-31 21:24:47 +01:00
2021-10-31 21:24:47 +01:00