summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2021-03-06 13:12:34 +0100
committerNico Huber <nico.h@gmx.de>2021-03-27 19:34:58 +0000
commit10a879e65bd24ac261b29445ee720538cad37653 (patch)
treec73b617ce0f34dfd703b436d7a1010c7f0c803c9 /Makefile
parent84ec70312e977355c8bac4be575c5808797da04d (diff)
downloadcoreboot-10a879e65bd24ac261b29445ee720538cad37653.tar.gz
coreboot-10a879e65bd24ac261b29445ee720538cad37653.tar.bz2
coreboot-10a879e65bd24ac261b29445ee720538cad37653.zip
Makefile.inc: Use `additional-dirs` for $(objcbfs), $(objgenerated)
We use `additional-dirs` for a single `mkdir -p` invocation for all directiories. I don't see why these two, $(objcbfs) and $(objgenerated), should be an exception. Fixes clean builds for targets that don't include the phony `coreboot` target, e.g. `make qemu`. Change-Id: I85abaa74cddefd2bd669e2b5c8934352775070fe Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51318 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ec0f95b59556..d942ee34cac4 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,8 @@ objutil ?= $(obj)/util
objk := $(objutil)/kconfig
absobj := $(abspath $(obj))
+additional-dirs :=
+
VBOOT_HOST_BUILD ?= $(abspath $(objutil)/vboot_lib)
COREBOOT_EXPORTS := COREBOOT_EXPORTS