[Buildroot] svn commit: trunk/buildroot/target/linux

Peter Korsgaard jacmet at uclibc.org
Sun Jan 25 21:54:01 UTC 2009


>>>>> "ulf" == ulf  <ulf at uclibc.org> writes:

 ulf> Author: ulf
 ulf> Date: 2009-01-25 21:48:33 +0000 (Sun, 25 Jan 2009)
 ulf> New Revision: 25024

 ulf> Log:

 ulf> Use new SHELL variable BUILDROOT_KERNEL_CONFIG_METHOD
 ulf> which will override selection between xconfig and menuconfig

 ulf> make xconfig will, if it fails, or user does not save configuration
 ulf> result in make menuconfig beeing tried

Sigh, please don't make these changes to the tree before we come to an
agreement on the list.

 ulf> Fix several issues causing final part of linux to be regenerated
 ulf> on each make.
 
 ulf>  choice
 ulf>  	prompt "Preferred config tool"
 ulf> -	default BR2_MAKE_MENUCONFIG
 ulf> +	default BR2_MAKE_XCONFIG

Don't do that.

 ulf> +# Override config method with shell variable
 ulf> +ifneq ($(BUILDROOT_KERNEL_CONFIG_METHOD),)
 ulf> +KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BUILDROOT_KERNEL_CONFIG_METHOD)))
 ulf> +#"))
 ulf> +else
 ulf>  KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD)))
 ulf>  #"))
 ulf>  ifeq ($(KERNEL_CONFIG_METHOD),)
 ulf> -KERNEL_CONFIG_METHOD:=menuconfig
 ulf> +KERNEL_CONFIG_METHOD:=xconfig
 ulf>  endif

But why?

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list