package/compcache: move configuration in submenu

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20906 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Nicolas Thill 2010-04-16 09:54:27 +00:00
parent 4a2993fc17
commit c15df46407
2 changed files with 4 additions and 4 deletions

View File

@ -1,15 +1,14 @@
# compcache configuration menu "Configuration"
depends on PACKAGE_kmod-compcache
config COMPCACHE_ENABLE config COMPCACHE_ENABLE
bool "enabled on boot" bool "enabled on boot"
default n default n
depends on PACKAGE_kmod-compcache
help help
Enables compressed ram swap devices. Enables compressed ram swap devices.
config COMPCACHE_RAM_REPORTED config COMPCACHE_RAM_REPORTED
string "swap space reported to kernel in kb" string "swap space reported to kernel in kb"
depends on PACKAGE_kmod-compcache
default "2048" default "2048"
help help
This is the amount of memory that will be reported This is the amount of memory that will be reported
@ -21,10 +20,10 @@ config COMPCACHE_RAM_REPORTED
config COMPCACHE_BACKUP_DEV config COMPCACHE_BACKUP_DEV
string "Backup device for compcache" string "Backup device for compcache"
depends on PACKAGE_kmod-compcache
default "" default ""
help help
Compcache will use this as a backup device for swap. Compcache will use this as a backup device for swap.
Example: Example:
/dev/sda5 /dev/sda5
endmenu

View File

@ -26,6 +26,7 @@ define KernelPackage/compcache
VERSION:=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)+$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)+$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/ramzswap.$(LINUX_KMOD_SUFFIX) \ FILES:=$(PKG_BUILD_DIR)/ramzswap.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/sub-projects/compression/lzo-kmod/lzo1x.$(LINUX_KMOD_SUFFIX) $(PKG_BUILD_DIR)/sub-projects/compression/lzo-kmod/lzo1x.$(LINUX_KMOD_SUFFIX)
MENU:=1
endef endef