hc
2024-03-22 a0752693d998599af469473b8dc239ef973a012f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
This is a copy of the kconfig code in the kernel (currently 4.17-rc2) tweaked
to suit Buildroot.
 
To update:
   cp -r /usr/src/linux/scripts/kconfig support/kconfig.new
   cd support/kconfig.new
   # 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/
   cp -a ../kconfig/patches ../kconfig/README.buildroot ../kconfig/.gitignore .
   quilt push -a
   # Fix any conflict
   cd ..
   rm -rf kconfig
   mv kconfig.new kconfig
 
Then verify the toplevel targets work:
   config
   defconfig
   menuconfig
   nconfig
   xconfig
   gconfig
   oldconfig