[Toybox] kconfig replacement
Kai Trukenmueller
trukenmueller at gmail.com
Fri Feb 17 13:52:29 PST 2012
attached is scripts/mkconfig.awk which could replace kconfig/*.
It could be used from the makefile for the targets:
config:
awk -f scripts/mkconfig.awk Config.in toys/*.c
allyesconfig:
yes | awk -f script/mkconfig.awk Config.in toys/*.c
allnoconfig:
yes n | awk -f scripts/mkconfig.awk Config.in toys/*.c
defaultconfig:
yes "" | awk -f scripts/mkconfig.awk Config.in toys/*.c
it is not a replacement for menuconfig.
It still needs some more work, which I would do, if you consider this
for inclusion:
- the output order in ".config" is undefined
- it does not support oldconfig
- it currently ignores depends
- anything else?
regards,
Kai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkconfig.awk
Type: application/x-awk
Size: 1255 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120217/a3f0bdae/attachment-0006.bin>
More information about the Toybox
mailing list