> Just overwrite .config to arch/arm/config/(xxx_defconfig) 
> copy .config into arch/arm/config/some_defconfig.

Don't.
Use
  make savedefconfig
and copy its output (./defconfig) to the arch/$ARCH/config/xxx_defconfig

The reason being that a .config contain all the values including defaults, 
and values generated by dependencies.
make savedefconfig
will only store what is actually needed and different from defaults and 
dependencies.
Also, for Android check 
 
https://android.googlesource.com/kernel/common/+/android-3.10/android/configs/README
 
 for interesting defaults.




On Wednesday, March 11, 2015 at 5:15:09 AM UTC-7, allan park wrote:
>
>
> make distclean command means clean everything even .config
> Also, I think your build scripts do make xxx_defconfig (overwrite your 
> .config) during build the boot.img.
>
> Just overwrite .config to arch/arm/config/(xxx_defconfig) 
>
> Sincerely
>
> On Sun, Oct 12, 2014 at 3:34 AM, Satya vara prasad <sv.pra...@gmail.com 
> <javascript:>> wrote:
>
>> All you need to do after saving your configuration there will be .config 
>> generated 
>> you need to copy that .config to arch/arm/configs/*somename_defconfig*
>> then next time use your *somename_defconfig* for configuring kernel i.e 
>> like #make ARCH=arm  *somename_defconfig*
>> if you do this new .config file will be generated including with your own 
>> configuration
>> try this it will work
>>  
>> Thank,
>> Prasad.
>>
>> On Fri, Oct 3, 2014 at 10:02 AM, Dave S <azpacif...@gmail.com 
>> <javascript:>> wrote:
>>
>>> Hi,
>>>
>>> How do I save my kernel configuration as the default settings when 
>>> building a kernel ? I use this:
>>> $ make menuconfig
>>>
>>>
>>> <https://lh6.googleusercontent.com/--wg44mQka3c/VC4mkvm1VZI/AAAAAAAAAAs/wWX1a4H9U9U/s1600/Kernel%2BConfiguration.png>
>>>
>>> I save the settings when asked, but how do I make them the default 
>>> settings so I don't have to keep going back and setting it all up again? 
>>> When I build a kernel the settings are saved, but when I build a boot.img 
>>> or do a:
>>> $ make distclean
>>> the settings revert back to what they were originally. What am I 
>>> missing? Please help.
>>> Thanks,
>>>
>>> -- 
>>> -- 
>>> unsubscribe: android-kerne...@googlegroups.com <javascript:>
>>> website: http://groups.google.com/group/android-kernel
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Android Linux Kernel Development" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to android-kerne...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  -- 
>> -- 
>> unsubscribe: android-kerne...@googlegroups.com <javascript:>
>> website: http://groups.google.com/group/android-kernel
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Linux Kernel Development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-kerne...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to