build: remove broken dependency of metadata on toplevel .config variables
Instead of relying on .config symbols for metadata, alter the DEFAULT variable of affected packages. Fixes enabling opkg vs apk among others. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -56,6 +56,7 @@ define Package/busybox
|
||||
$(call Package/busybox/Default)
|
||||
CONFLICTS:=busybox-selinux
|
||||
VARIANT:=default
|
||||
DEFAULT:=y if !SELINUX
|
||||
endef
|
||||
|
||||
define Package/busybox-selinux
|
||||
@@ -64,6 +65,7 @@ define Package/busybox-selinux
|
||||
DEPENDS += +libselinux
|
||||
VARIANT:=selinux
|
||||
PROVIDES:=busybox
|
||||
DEFAULT:=y if SELINUX
|
||||
endef
|
||||
|
||||
define Package/busybox/description
|
||||
|
||||
Reference in New Issue
Block a user