[coreboot] [commit] r5509 - trunk

repository service svn at coreboot.org
Tue Apr 27 11:19:47 CEST 2010


Author: oxygene
Date: Tue Apr 27 11:19:47 2010
New Revision: 5509
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5509

Log:
Force mkdir before resolving any make rules.

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Tue Apr 27 10:45:30 2010	(r5508)
+++ trunk/Makefile	Tue Apr 27 11:19:47 2010	(r5509)
@@ -304,12 +304,11 @@
 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 @@
 	@# 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
 




More information about the coreboot mailing list