Mathias Krause (mathias.krause@secunet.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/742
-gerrit
commit ba947af8efc8d7d5b403150ed16a8c61cdd9750d Author: Mathias Krause mathias.krause@secunet.com Date: Tue Mar 6 09:31:38 2012 +0100
makefile: create directories on demand
Use makefile dependencies to created needed directories instead of trying to recreate them on each make invocation.
Change-Id: Ia06b1042f2a2c4905f5c8277a48ec4b8188f3079 Signed-off-by: Mathias Krause mathias.krause@secunet.com --- Makefile | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile index 41486a9..6603612 100644 --- a/Makefile +++ b/Makefile @@ -161,16 +161,16 @@ $(obj)/version.h: FORCE echo '#define PROGRAM_VERSION_FULL "$(PROGRAM_VERSION) $(BUILD_INFO)"' >> $@ echo '#define BUILD_INFO "$(BUILD_INFO)"' >> $@
-prepare: - mkdir -p $(obj)/util/kconfig/lxdialog - mkdir -p $(obj)/i386 $(obj)/fs $(obj)/drivers/flash - mkdir -p $(obj)/main/grub +$(obj)/%/: + mkdir -p $@ + +prepare: $(sort $(dir $(OBJS))) $(obj)/util/kconfig/lxdialog/
clean: - rm -rf $(obj)/i386 $(obj)/fs $(obj)/drivers $(obj)/main $(obj)/util + rm -rf $(sort $(dir $(OBJS))) $(obj)/util
distclean: clean - rm -rf build + rm -rf $(obj) rm -f .config lib.config .config.old .xcompile ..config.tmp .kconfig.d .tmpconfig*
FORCE: