1This is a copy of the kconfig code in the kernel (currently 4.17-rc2) tweaked 2to suit Buildroot. 3 4To update: 5 cp -r /usr/src/linux/scripts/kconfig support/kconfig.new 6 cd support/kconfig.new 7 # zconf.lex.c and zconf.tab.c needs to be generated by 'make menuconfig' 8 mv zconf.lex.c zconf.lex.c_shipped 9 mv zconf.tab.c zconf.tab.c_shipped 10 rm -rf tests/ 11 cp -a ../kconfig/patches ../kconfig/README.buildroot ../kconfig/.gitignore . 12 quilt push -a 13 # Fix any conflict 14 cd .. 15 rm -rf kconfig 16 mv kconfig.new kconfig 17 18Then verify the toplevel targets work: 19 config 20 defconfig 21 menuconfig 22 nconfig 23 xconfig 24 gconfig 25 oldconfig 26