summaryrefslogtreecommitdiffstats
path: root/target/linux/Config.in.advanced
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-30 20:04:55 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-30 20:04:55 +0000
commit62ce637fedd35c579409145cb7772ec0aa7b67f8 (patch)
tree67281365f101ee4c08601e29c74cdfb034a3aa83 /target/linux/Config.in.advanced
parent399a1f27faef2759b8ee9ac074755fb5ccd0e623 (diff)
downloadbuildroot-novena-62ce637fedd35c579409145cb7772ec0aa7b67f8.tar.gz
buildroot-novena-62ce637fedd35c579409145cb7772ec0aa7b67f8.zip
Allow selection of kernel config tool
Diffstat (limited to 'target/linux/Config.in.advanced')
-rw-r--r--target/linux/Config.in.advanced27
1 files changed, 26 insertions, 1 deletions
diff --git a/target/linux/Config.in.advanced b/target/linux/Config.in.advanced
index cd5f52cdf..b8c71d59c 100644
--- a/target/linux/Config.in.advanced
+++ b/target/linux/Config.in.advanced
@@ -416,12 +416,14 @@ config BR2_PACKAGE_LINUX_USE_DEFCONFIG
Configure Linux by make <board>_defconfig
config BR2_PACKAGE_LINUX_USE_XCONFIG
- bool "Run make ARCH=$(ARCH) xconfig before build"
+ bool "Run make ARCH=$(ARCH) [xconfig|menuconfig] before build"
depends BR2_PACKAGE_LINUX
help
Configure Linux by make xconfig
endchoice
+
+
config BR2_PACKAGE_LINUX_KCONFIG
string ".config file"
depends on BR2_PACKAGE_LINUX_USE_KCONFIG
@@ -433,6 +435,29 @@ config BR2_PACKAGE_LINUX_KCONFIG
board-imposed value by passing LINUX26_KCONFIG=<path> to
make.
+choice
+ prompt "Preferred config tool"
+ default BR2_MAKE_XCONFIG
+ help
+ Define the preferred tool to invoke if a configuration is invalid
+
+config BR2_MAKE_XCONFIG
+ bool "make xconfig"
+ help
+ Run "make menuconfig" if kernel ".config" is invalid
+
+config BR2_MAKE_MENUCONFIG
+ bool "make menuconfig"
+ help
+ Run "make menuconfig" if kernel ".config" is invalid
+
+endchoice
+
+config BR2_KERNEL_CONFIG_METHOD
+ string
+ default "xconfig" if BR2_MAKE_XCONFIG
+ default "menuconfig" if BR2_MAKE_MENUCONFIG
+
endmenu
choice