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>
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.