Re: mini.config with defconfig

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

 



On Sat, Apr 27, 2019 at 12:46 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> Hi,
>
> Is the "defconfig" target supported when using a mini.config file?

No.

As you see line 584 of scripts/kconfig/conf.c,
this is supported only for
 allnoconfig
 allyesconfig
 allmodconfig
 alldefconfig
 randconfig


defconfig reads a config fragment
from arch/*/configs/*_defconfig.

So, we need to merge data
from arch/*/configs/*_defconfig and mini.config

Currently, this is not supported by the kconfig binary,
but by scripts/kconfig/merge_config.sh


Thanks.



> I am trying to use this mini.config file with x86_64 defconfig:
>
> # CONFIG_UNWINDER_ORC is not set
> CONFIG_UNWINDER_FRAME_POINTER=y
> # CONFIG_UNWINDER_GUESS is not set
>
>
> but the generated .config file always has:
> CONFIG_UNWINDER_ORC=y
> # CONFIG_UNWINDER_FRAME_POINTER is not set
>
>
> command:
> make KCONFIG_ALLCONFIG=mini.config ARCH=x86_64 O=MINI defconfig
>
>
> thanks.
> --
> ~Randy



-- 
Best Regards
Masahiro Yamada



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

  Powered by Linux