config: add !USE_APK dependency to CLEAN_IPKG
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run

When USE_APK is enabled, APK replaces opkg/ipkg, leading to a build
failure when CLEAN_IPKG is also selected. Add 'depends on !USE_APK' to
CLEAN_IPKG to ensure this option is only selectable when opkg/ipkg is
the active package manager.

Signed-off-by: Anari Jalakas <anari.jalakas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20957
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Anari Jalakas 2025-11-27 15:22:03 +02:00 committed by Christian Marangi
parent cf14eb6c86
commit 929a460bfa
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View file

@ -108,6 +108,7 @@ menu "Global build settings"
config CLEAN_IPKG
bool
prompt "Remove ipkg/opkg status data files in final images"
depends on !USE_APK
help
This removes all ipkg/opkg status data files from the target directory
before building the root filesystem.