• Masahiro Yamada's avatar
    kbuild: define DO_DEPS_ONLY for u-boot.cfg to fix build error · 3113471f
    Masahiro Yamada authored
    Since 741e58e0 (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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    3113471f
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...