diff options
Diffstat (limited to 'package/system/zram-swap/Makefile')
-rw-r--r-- | package/system/zram-swap/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap/Makefile index 99dd9a675f..527800501b 100644 --- a/package/system/zram-swap/Makefile +++ b/package/system/zram-swap/Makefile @@ -18,7 +18,7 @@ include $(INCLUDE_DIR)/package.mk define Package/zram-swap SECTION:=utils CATEGORY:=Base system - DEPENDS:=+kmod-zram +!BUSYBOX_CONFIG_MKSWAP:swap-utils +!BUSYBOX_CONFIG_SWAPONOFF:block-mount + DEPENDS:=+kmod-zram +!(BUSYBOX_DEFAULT_MKSWAP||BUSYBOX_CONFIG_MKSWAP):swap-utils +!((BUSYBOX_DEFAULT_SWAPON||BUSYBOX_CONFIG_SWAPON)&&(BUSYBOX_DEFAULT_SWAPOFF||BUSYBOX_CONFIG_SWAPOFF)):block-mount TITLE:=ZRAM swap scripts PKGARCH:=all endef |