On Fri, 2015-03-20 at 19:13 +0100, Paul Kocialkowski wrote:
> Now how am I to enable OLD_SUNXI_KERNEL_COMPAT
> through Kconfig without modifying anything on the tree and in a
> scriptable way (no menuconfig)?

You can edit .config by whatever scripting means you like really.

<construct a default config, e.g. with make foo_defconfig>
$ echo CONFIG_OLD_SUNXI_KERNEL_COMPAT=y >> .config
$ make oldconfig (or silentoldconfig or fooconfig generally depending on
your needs)

Or you can use sed instead of echo, in our automated tests at work we
use this to do the same sort of thing for Linux:
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=ts-kernel-build;h=b2f19cfee0cf366f0e7dfcc7bc4d58a2559ac7df;hb=HEAD#l400

Ian.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to