2018-09-19 13:36:15 +02:00
|
|
|
This is a copy of the kconfig code in the kernel (currently 4.17-rc2) tweaked
|
2008-06-19 10:11:43 +02:00
|
|
|
to suit Buildroot.
|
2007-06-28 12:46:19 +02:00
|
|
|
|
|
|
|
To update:
|
2011-08-31 23:35:05 +02:00
|
|
|
cp -r /usr/src/linux/scripts/kconfig support/kconfig.new
|
2013-10-14 20:24:31 +02:00
|
|
|
cd support/kconfig.new
|
2018-09-19 13:36:15 +02:00
|
|
|
# zconf.lex.c and zconf.tab.c needs to be generated by 'make menuconfig'
|
|
|
|
mv zconf.lex.c zconf.lex.c_shipped
|
|
|
|
mv zconf.tab.c zconf.tab.c_shipped
|
|
|
|
rm -rf tests/
|
2013-11-14 00:53:33 +01:00
|
|
|
cp -a ../kconfig/patches ../kconfig/README.buildroot ../kconfig/.gitignore .
|
2010-08-21 15:59:10 +02:00
|
|
|
quilt push -a
|
|
|
|
# Fix any conflict
|
2007-06-28 12:46:19 +02:00
|
|
|
cd ..
|
2013-10-14 20:24:31 +02:00
|
|
|
rm -rf kconfig
|
2011-08-31 23:35:05 +02:00
|
|
|
mv kconfig.new kconfig
|
2007-06-28 12:46:19 +02:00
|
|
|
|
|
|
|
Then verify the toplevel targets work:
|
|
|
|
config
|
|
|
|
defconfig
|
|
|
|
menuconfig
|
2018-05-09 18:44:11 +02:00
|
|
|
nconfig
|
2010-08-21 15:59:10 +02:00
|
|
|
xconfig
|
|
|
|
gconfig
|
2007-06-28 12:46:19 +02:00
|
|
|
oldconfig
|