[U-Boot] kbuild: define DO_DEPS_ONLY for u-boot.cfg to fix build error
Tom Rini
trini at konsulko.com
Thu May 28 15:24:37 CEST 2015
On Tue, May 26, 2015 at 12:51:25PM +0900, Masahiro Yamada wrote:
> Since 741e58e0fc8e (Create a .cfg file containing the CONFIG options
> used to build), all the Blackfin boards fail to build if the parallel
> (-j) option is passed.
>
> $ make -s bf506f-ezkit_defconfig
> #
> # configuration written to .config
> #
> $ make -j8 CROSS_COMPILE=bfin-elf-
> scripts/kconfig/conf --silentoldconfig Kconfig
> CHK include/config.h
> UPD include/config.h
> GEN include/autoconf.mk
> GEN include/autoconf.mk.dep
> CHK include/config/uboot.release
> CHK include/generated/timestamp_autogenerated.h
> UPD include/generated/timestamp_autogenerated.h
> CFG u-boot.cfg
> include/asm-offsets.h:3:43: fatal error:
> generated/generic-asm-offsets.h: No such file or directory
> compilation terminated.
> make: *** [u-boot.cfg] Error 1
>
> When parsing header files for defined CONFIG options, DO_DEPS_ONLY
> must be defined to exclude generated headers that might not have
> been available yet.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150528/5dd61808/attachment.sig>
More information about the U-Boot
mailing list