aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-04-27 09:19:47 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-04-27 09:19:47 +0000
commit25fc5ffd924b40fdcf6d34e43b10d010df2c21ea (patch)
tree595935df7c64bde47b75f040e7189ab3a0fab401 /Makefile
parent771b0e42280ac688ddfae654b3df9582c3caaf6f (diff)
downloadcoreboot-25fc5ffd924b40fdcf6d34e43b10d010df2c21ea.tar.gz
coreboot-25fc5ffd924b40fdcf6d34e43b10d010df2c21ea.tar.xz
coreboot-25fc5ffd924b40fdcf6d34e43b10d010df2c21ea.zip
Force mkdir before resolving any make rules.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5509 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index dfa1d8ed0..05b41d123 100644
--- a/Makefile
+++ b/Makefile
@@ -304,12 +304,11 @@ CBFS_PAYLOAD_COMPRESS_FLAG:=l
CBFS_PAYLOAD_COMPRESS_NAME:=LZMA
endif
-coreboot: prepare $(obj)/coreboot.rom
+coreboot: $(obj)/coreboot.rom
endif
-prepare:
- mkdir -p $(obj) $(objutil)/kconfig/lxdialog $(objutil)/cbfstool $(objutil)/romcc $(objutil)/options $(alldirs)
+$(shell mkdir -p $(obj) $(objutil)/kconfig/lxdialog $(objutil)/cbfstool $(objutil)/romcc $(objutil)/options $(alldirs))
$(obj)/build.h: .xcompile
@printf " GEN build.h\n"
@@ -383,5 +382,5 @@ $(objutil)/romcc/romcc: $(top)/util/romcc/romcc.c
@# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
$(HOSTCC) -g $(STACK) -Wall -o $@ $<
-.PHONY: $(PHONY) prepare clean distclean doxygen doxy coreboot .xcompile
+.PHONY: $(PHONY) clean distclean doxygen doxy coreboot .xcompile