summaryrefslogtreecommitdiff
path: root/toolchain/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-08 19:29:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-08 19:29:36 +0100
commit422beddb9dcf0a67afe92e70f3afef6baed6a4b0 (patch)
treee933f331d64e505bbc74228f32a888ef644f61a8 /toolchain/Makefile
parenta06de804c0629a9091acc46c143fefd0f2641a80 (diff)
fix make clean target rule
correct the wrong path and remove the correct files on clean. Finetune more directory creation rules.
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r--toolchain/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index b9a13f04a..34bd57210 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -54,14 +54,11 @@ $(STAGING_HOST_DIR):
@mkdir -p $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)
@ln -sf ../lib $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)/lib
-$(TOOLCHAIN_BUILD_DIR):
- @mkdir -p $(TOOLCHAIN_BUILD_DIR)
-
%-download:
$(TRACE) toolchain/$(patsubst %-download,%,$@)/download
$(MAKE) -C $(patsubst %-download,%,$@) fetch
-%-prepare: $(STAGING_HOST_DIR) $(TOOLCHAIN_BUILD_DIR)
+%-prepare: $(STAGING_HOST_DIR)
$(TRACE) toolchain/$(patsubst %-prepare,%,$@)/prepare
@if test x"$(patsubst %-prepare,%,$@)" = x"$(LIBC)"; then \
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare \