Re: hidden string Kconfig ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 14, 2018 at 03:16:17PM -0800, Randy Dunlap wrote:
> Hi,
> 
> There are several "string" Kconfig symbols in init/Kconfig that do not have
> a prompt string after them.  I believe that these do what you are asking about.
> If not, please provide your example that is not working.
> 
> Or:  this one works for me:
> 
> ---
>  init/Kconfig |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> --- linux-next-20181114.orig/init/Kconfig
> +++ linux-next-20181114/init/Kconfig
> @@ -1858,6 +1858,10 @@ config CMDLINE
>  
>  endif
>  
> +config SPECIAL_STRING
> +	string
> +	default "special"
> +
>  endmenu		# General setup
>  
>  source "arch/Kconfig"
> 
> 
> and "make oldconfig" gives me a .config file that contains:
> CONFIG_SPECIAL_STRING="special"

I have this (in init/Kconfig),

config CMDLINE
        string

then inside my .config I have this,
CONFIG_CMDLINE="console=ttyS0"

if you run  "make menuconfig", and change something then save. The
CONFIG_CMDLINE is gone.

What I would want is for that option to remain untouched.


Daniel



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux