u-boot: 2015.07 - fix creation of .config
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Fri, 31 Jul 2015 14:04:35 +0000 (17:04 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 30 Aug 2015 20:40:35 +0000 (22:40 +0200)
commitaacf0ae9e3e28257101a7fb882313d83ebbda232
tree3bd21607d9f8719a2704746203a01cd0fa0b40d6
parent8012250b86dc5c7fa9a882c82ae5364a6ede3512
u-boot: 2015.07 - fix creation of .config

Due to recent changes in U-Boot, see
http://git.denx.de/?p=u-boot.git;a=commit;h=a26cd04920dc069fd6e91abb785426cf6c29f45f
re-creation of .config from defconfig by "make oldconfig" happened
incorrectly.

Default prompt for target selection was set as No that lead to missing platform
selection by automated scripts like that:
------------------>8------------------
"yes "" | make oldconfig" on defconfig
------------------>8------------------

And that lead to build failure:
------------------>8------------------
$ make
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  UPD     include/config.h
  GEN     include/autoconf.mk
In file included from ./include/common.h:18:0:
include/config.h:5:22: fatal error: configs/.h: No such file or directory
 #include <configs/.h>
                      ^
compilation terminated.
scripts/Makefile.autoconf:72: recipe for target 'include/autoconf.mk' failed
make[1]: *** [include/autoconf.mk] Error 1
------------------>8------------------

This patch reverts mentioned change making possible to build U-Boot
2015.07 in Buildroot.

Note there's a probability that this particular patch won't make its way
in upstream U-Boot and better solution will be found there. But for now
we need to fix U-Boot building in Buildroot anyways.

Hopefully for the next release this patch won't be necessary.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
boot/uboot/2015.07/0001-Revert-arch-Make-board-selection-choices-optional.patch [new file with mode: 0644]