Explorar o código

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 <[email protected]>

SVN-Revision: 33865
Felix Fietkau %!s(int64=13) %!d(string=hai) anos
pai
achega
144d932faf
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  1. 15 0
      package/kernel/modules/other.mk

+ 15 - 0
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))