From 870cb9e826634f5a59e32866ec13c3e9869e594f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 17 Nov 2006 11:21:23 +0000 Subject: - check if busybox' Rules.mak exists. - add target dirs to ensure that all required dirs do exist so make busybox-menuconfig works in a pristine checkout. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 71d2ded46..0e21be0e6 100644 --- a/Makefile +++ b/Makefile @@ -75,9 +75,10 @@ TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS)) TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS)) TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS)) -world: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS) +dirs: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) +world: dirs $(TARGET_DIR) $(TARGETS) -.PHONY: all world clean dirclean distclean source $(TARGETS) \ +.PHONY: all world dirs clean dirclean distclean source $(TARGETS) \ $(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \ $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) $(STAGING_DIR) -- cgit v1.2.3