On 31/03/2021 16:09, Rui Salvaterra wrote: > Break dependencies into separate lines, to improve the readability. Trim > trailing whitespace. > > Signed-off-by: Rui Salvaterra <[email protected]> > --- > package/system/zram-swap/Makefile | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/package/system/zram-swap/Makefile > b/package/system/zram-swap/Makefile > index 18c6afee96..96cdcdc5ee 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:= \ > + +kmod-zram \ > + +@BUSYBOX_CONFIG_MKSWAP \ > + +@BUSYBOX_CONFIG_SWAPON \ > + +@BUSYBOX_CONFIG_FEATURE_SWAPON_DISCARD \ > + +@BUSYBOX_CONFIG_FEATURE_SWAPON_PRI \ > + +@BUSYBOX_CONFIG_SWAPOFF Please put them in alphabetical order. > 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 >
Stijn _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
