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
This commit is contained in:
Patrick Georgi 2010-04-27 09:19:47 +00:00
parent 771b0e4228
commit 25fc5ffd92
1 changed files with 3 additions and 4 deletions

View File

@ -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