aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/zram-swap
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2021-04-01 14:36:32 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-04-03 18:57:13 +0200
commit829fa33899911f5e2a1229a6fdea98feb1d09029 (patch)
treeb42cc6a8748aa2909f96bd1b6a2d42a2d192e2c3 /package/system/zram-swap
parent73ec21cde2cde1fc27f66b08e8762cdc3c78b61a (diff)
downloadupstream-829fa33899911f5e2a1229a6fdea98feb1d09029.tar.gz
upstream-829fa33899911f5e2a1229a6fdea98feb1d09029.tar.bz2
upstream-829fa33899911f5e2a1229a6fdea98feb1d09029.zip
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>
Diffstat (limited to 'package/system/zram-swap')
-rw-r--r--package/system/zram-swap/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap/Makefile
index 18c6afee96..80f87fcdff 100644
--- a/package/system/zram-swap/Makefile
+++ b/package/system/zram-swap/Makefile
@@ -17,14 +17,20 @@ include $(INCLUDE_DIR)/package.mk
define Package/zram-swap
SECTION:=utils
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
PKGARCH:=all
endef
define Package/zram-swap/description
- A script to activate swaping on a compressed zram partition. This
- could be used to increase the available memory, by using compressed
+ A script to activate swaping on a compressed zram partition. This
+ could be used to increase the available memory, by using compressed
memory.
endef