mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-30 10:49:53 +00:00
kbuild: avoid race between dtbs and dt/dt.dtb targets
If the final targets depend on both "dtbs" and "dts/dt.dtb", and -j option is given to the command line, multiple threads descend into the dts/ directory, which causes build error. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com>
This commit is contained in:
parent
fba5f93c71
commit
4141e85bcd
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -810,7 +810,9 @@ ifeq ($(CONFIG_DM_I2C_COMPAT),y)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PHONY += dtbs
|
PHONY += dtbs
|
||||||
dtbs dts/dt.dtb: checkdtc u-boot
|
dtbs: dts/dt.dtb
|
||||||
|
@:
|
||||||
|
dts/dt.dtb: checkdtc u-boot
|
||||||
$(Q)$(MAKE) $(build)=dts dtbs
|
$(Q)$(MAKE) $(build)=dts dtbs
|
||||||
|
|
||||||
quiet_cmd_copy = COPY $@
|
quiet_cmd_copy = COPY $@
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue