This also provides a nice up-to-date filestamp if something got reconfigured (e.g. c++ support got toggled) that can be used in the future to depend accordingly.
The configuration utility in package/config/ can look for a default
configuration file called 'defconfig' but it's hard coded to look for
sysdeps/linux/defconfig.
This patch causes the config utility to look in the current working directory
for the 'defconfig' file. I use this to provide a default configuration to a
new buildroot environment. This way, I can 'svn co' buildroot, copy my
defconfig, then make defconfig to use my own default configuration.
This fix only changes one line in the confdata.c file to remove the legacy path
that was used in Linux, and not needed in buildroot.
The version of mconf used by buildroot doesn't handle "menuconfig" correctly.
Instead of displaying the proper submenu, it just displays the menuconfig
option itself again.
This patch adds the proper code to mconf. Only 6 lines of code.