[OpenWrt-Devel] [LEDE-DEV] Bounty: simplify extracting/restoring kernel .config
Zoltan Gyarmati
mr.zoltan.gyarmati at gmail.com
Tue Jan 31 10:04:34 EST 2017
On 01/31/2017 10:19 AM, Felix Fietkau wrote:
> On 2017-01-29 22:37, Philip Prindeville wrote:
>> Hi.
>>
>> I’m working on a project where I need to be able to force certain
>> kernel configuration parameters from a script, to automate building
>> tailored kernels for performance testing, certification, etc.
>>
>> I love the way that I can use “scripts/diffconfig.sh” to save the
>> deltas into a file… update the cloning/checkout of master over time,
>> yet retain my saved overrides by doing a “cp ../my.config .config ;
>> make defconfig oldconfig” and always end up with a known/good
>> configuration.
>>
>> Alas, I can’t do the same for the target kernel in a scripted way.
>>
>> I’d like to put out a bounty for doing so. If you’re interested,
>> contact me via email to discuss the deliverable and the terms of
>> payment.
>>
>> Ideally, this would be of broad enough applicability that I’d want to
>> upstream this back to OpenWRT for everyone, so keep that in mind as
>> well.
> This is already implemented. You can put any kernel configuration
> overrides into env/kernel-config.
> Generating those is fairly easy too, you can use this command:
> make kernel_menuconfig CONFIG_TARGET=env
> You can also put a full kernel config in that file instead of a delta.
> Running make kernel_oldconfig CONFIG_TARGET=env afterwards will reduce
> that full config to a delta relative to the defaults that LEDE uses.
Dear Felix & All,
might be slightly off-topic, but: Is there any similar mechanism to
customize/override not only the kernel config but also the device tree file?
>
> - Felix
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Thx in advance, regards,
Zoltan Gyarmati
https://zgyarmati.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20170131/4b861cea/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list