> I think better dependency would be: > > define KernelPackage/zram/config > select BUSYBOX_CONFIG_MKSWAP if !PACKAGE_swap-utils > select BUSYBOX_CONFIG_SWAPONOFF if !PACKAGE_swap-utils > endef > > > btw. > @devs - is there an openwrt "DEPENDS:=" equivalent for "select <symbol> if > <expr>" ? >
Yes there is: DEPENDS:=+@!PACKAGE_swap-utils:BUSYBOX_CONFIG_MKSWAP I tried something like this yesterday and added it to http://wiki.openwrt.org/doc/devel/dependencies Cheers, Stefan _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel