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.geo...@coresystems.de> Acked-by: Stefan Reinauer <ste...@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 -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot