From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sun, 30 Aug 2015 22:51:38 +0200 Subject: [Buildroot] [PATCH] u-boot: 2015.07 - fix creation of .config In-Reply-To: <1438351475-14447-1-git-send-email-abrodkin@synopsys.com> (Alexey Brodkin's message of "Fri, 31 Jul 2015 17:04:35 +0300") References: <1438351475-14447-1-git-send-email-abrodkin@synopsys.com> Message-ID: <87io7wts85.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Alexey" == Alexey Brodkin writes: > 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 > ^ > 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 > Cc: Thomas Petazzoni Committed, thanks. While doing a test build I noticed that u-boot nowadays needs dtc: CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h ./scripts/dtc-version.sh: line 17: dtc: command not found ./scripts/dtc-version.sh: line 18: dtc: command not found *** Your dtc is too old, please upgrade to dtc 1.4 or newer Makefile:1297: recipe for target 'checkdtc' failed make[1]: *** [checkdtc] Error 1 make[1]: *** Waiting for unfinished jobs.... UPD include/config/uboot.release make[1]: *** wait: No child processes. Stop. package/pkg-generic.mk:156: recipe for target '/home/peko/source/buildroot/output/build/uboot-2015.07/.stamp_built' failed So perhaps we should consider adding host support to our dtc package and add host-dtc to the uboot dependencies? -- Bye, Peter Korsgaard