zram-swap: clean up the makefile
Break dependencies into separate lines, to improve the readability. Trim trailing whitespace. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
This commit is contained in:
parent
73ec21cde2
commit
829fa33899
1 changed files with 9 additions and 3 deletions
|
@ -17,14 +17,20 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
define Package/zram-swap
|
define Package/zram-swap
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Base system
|
CATEGORY:=Base system
|
||||||
DEPENDS:=+kmod-zram +@BUSYBOX_CONFIG_MKSWAP +@BUSYBOX_CONFIG_SWAPON +@BUSYBOX_CONFIG_FEATURE_SWAPON_DISCARD +@BUSYBOX_CONFIG_FEATURE_SWAPON_PRI +@BUSYBOX_CONFIG_SWAPOFF
|
DEPENDS:= \
|
||||||
|
+@BUSYBOX_CONFIG_FEATURE_SWAPON_DISCARD \
|
||||||
|
+@BUSYBOX_CONFIG_FEATURE_SWAPON_PRI \
|
||||||
|
+@BUSYBOX_CONFIG_MKSWAP \
|
||||||
|
+@BUSYBOX_CONFIG_SWAPOFF \
|
||||||
|
+@BUSYBOX_CONFIG_SWAPON \
|
||||||
|
+kmod-zram
|
||||||
TITLE:=ZRAM swap scripts
|
TITLE:=ZRAM swap scripts
|
||||||
PKGARCH:=all
|
PKGARCH:=all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/zram-swap/description
|
define Package/zram-swap/description
|
||||||
A script to activate swaping on a compressed zram partition. This
|
A script to activate swaping on a compressed zram partition. This
|
||||||
could be used to increase the available memory, by using compressed
|
could be used to increase the available memory, by using compressed
|
||||||
memory.
|
memory.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue