summaryrefslogtreecommitdiffstats
path: root/package/compcache
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-16 09:54:27 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-16 09:54:27 +0000
commitbce9978c108910dcc1bb58eee32dd9d39ebba5ff (patch)
tree842aa818824f8a3ac70fb9ec2d1009bdf51aa045 /package/compcache
parent682a6e85dd7ad579be5a2ad21dab8e53071612e3 (diff)
package/compcache: move configuration in submenu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20906 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/compcache')
-rw-r--r--package/compcache/Config.in7
-rw-r--r--package/compcache/Makefile1
2 files changed, 4 insertions, 4 deletions
diff --git a/package/compcache/Config.in b/package/compcache/Config.in
index 9904237ed..11a94d434 100644
--- a/package/compcache/Config.in
+++ b/package/compcache/Config.in
@@ -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
diff --git a/package/compcache/Makefile b/package/compcache/Makefile
index 2fec28952..13a9056db 100644
--- a/package/compcache/Makefile
+++ b/package/compcache/Makefile
@@ -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