aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-19 17:47:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-19 17:47:22 +0000
commit144d932fafffcba2c5f3525d8451a585b052d20d (patch)
treebb1b1fb0f280aece915723f0e086868e473bac2a /package/kernel/modules
parentb530d9d2b35eb19dd7ce05ecb9e4273550668ef6 (diff)
downloadupstream-144d932fafffcba2c5f3525d8451a585b052d20d.tar.gz
upstream-144d932fafffcba2c5f3525d8451a585b052d20d.tar.bz2
upstream-144d932fafffcba2c5f3525d8451a585b052d20d.zip
package/kernel: add IKCONFIG module option
Add an option for building the configs.ko module which provides kernel configuration via /proc/config.gz Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 33865
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/other.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index f370f65129..352af2894e 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -697,3 +697,18 @@ define KernelPackage/regmap/description
endef
$(eval $(call KernelPackage,regmap))
+
+define KernelPackage/ikconfig
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Kernel configuration via /proc/config.gz
+ KCONFIG:=CONFIG_IKCONFIG \
+ CONFIG_IKCONFIG_PROC=y
+ FILES:=$(LINUX_DIR)/kernel/configs.ko
+ AUTOLOAD:=$(call AutoLoad,70,configs)
+endef
+
+define KernelPackage/ikconfig/description
+ Kernel configuration via /proc/config.gz
+endef
+
+$(eval $(call KernelPackage,ikconfig))