diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2015-12-14 22:04:54 +0100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-12-16 00:43:22 +0100 |
commit | b619f44c67f98e2c93492c643f15be909ca4c99d (patch) | |
tree | 9d1a47c9646af94e5c7d5ee3c066560fc3cb08e1 | |
parent | 747d0f898b254b400a62cf00ef3cd7e246db9b86 (diff) | |
download | coreboot-staging-b619f44c67f98e2c93492c643f15be909ca4c99d.zip coreboot-staging-b619f44c67f98e2c93492c643f15be909ca4c99d.tar.gz |
build system/x86: depend on directories before touch /empty targets
$(objgenerated)/empty would touch files before the directory
is created on parallel builds.
Thanks to reproducible-builds.org for hitting this bug.
Change-Id: I7565e9fe130b4e9deaf1c7b9d568ff90b00dda52
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: https://review.coreboot.org/12717
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | src/arch/x86/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index d552aa2..9713d52 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -87,7 +87,7 @@ bootblock_romccflags := -mcpu=k7 -msse -O2 -D__PRE_RAM__ -D__BOOTBLOCK__ endif # This is a hack in case there are no per chipset linker files. -$(objgenerated)/empty: +$(objgenerated)/empty: build-dirs touch $@ $(objgenerated)/bootblock.ld: $$(filter-out $(obj)/arch/x86/bootblock.bootblock.ld, $$(filter %.ld,$$(bootblock-objs))) $(objgenerated)/empty |