[OpenWrt-Devel] [LEDE-DEV] Scripting builds... how to?
ynezz at true.cz
Sun Jan 1 12:13:31 EST 2017
Philip Prindeville <philipp_subx at redfish-solutions.com> [2016-12-31 16:12:21]:
> cp ../my-saved-config .config
> make defconfig
I use the same steps also.
> to generate the .config file in a completely scripted way, by seeding it with the minimum set of relevant parameters (the deltas) per the steps described here:
> Is there an equivalent way to generate the kernel config by seeding it with minimum state?
Look at the scripts/diffconfig file for details, probably at the kconfig.pl usage.
> I don’t want to save the complete .config because that changes from release to release, so there wouldn’t be any point… all I care about is how I’m differentiating my build from the defaults.
You can just do:
scripts/diffconfig > ../my-saved-config
it should contain everything needed to build the image.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel