mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01:00
package/compcache: move configuration in submenu
SVN-Revision: 20906
This commit is contained in:
parent
8b5bc8a9b3
commit
a1bd421899
@ -1,15 +1,14 @@
|
||||
# compcache configuration
|
||||
menu "Configuration"
|
||||
depends on PACKAGE_kmod-compcache
|
||||
|
||||
config COMPCACHE_ENABLE
|
||||
bool "enabled on boot"
|
||||
default n
|
||||
depends on PACKAGE_kmod-compcache
|
||||
help
|
||||
Enables compressed ram swap devices.
|
||||
|
||||
config COMPCACHE_RAM_REPORTED
|
||||
string "swap space reported to kernel in kb"
|
||||
depends on PACKAGE_kmod-compcache
|
||||
default "2048"
|
||||
help
|
||||
This is the amount of memory that will be reported
|
||||
@ -21,10 +20,10 @@ config COMPCACHE_RAM_REPORTED
|
||||
|
||||
config COMPCACHE_BACKUP_DEV
|
||||
string "Backup device for compcache"
|
||||
depends on PACKAGE_kmod-compcache
|
||||
default ""
|
||||
help
|
||||
Compcache will use this as a backup device for swap.
|
||||
Example:
|
||||
/dev/sda5
|
||||
|
||||
endmenu
|
||||
|
@ -26,6 +26,7 @@ define KernelPackage/compcache
|
||||
VERSION:=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)+$(PKG_RELEASE)
|
||||
FILES:=$(PKG_BUILD_DIR)/ramzswap.$(LINUX_KMOD_SUFFIX) \
|
||||
$(PKG_BUILD_DIR)/sub-projects/compression/lzo-kmod/lzo1x.$(LINUX_KMOD_SUFFIX)
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user