diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-04-27 09:19:47 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-04-27 09:19:47 +0000 |
commit | 25fc5ffd924b40fdcf6d34e43b10d010df2c21ea (patch) | |
tree | 595935df7c64bde47b75f040e7189ab3a0fab401 | |
parent | 771b0e42280ac688ddfae654b3df9582c3caaf6f (diff) | |
download | coreboot-25fc5ffd924b40fdcf6d34e43b10d010df2c21ea.tar.xz |
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
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |