summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-07 18:23:43 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-07 18:23:43 +0000
commitf5905dc9eb84815f5afe9feb09500340ad1379cd (patch)
tree9f71a26ab0c2b3bcb5acefe16d83c4301cdd3d38
parent0c6c85cbfa09476e06866760d1efbc541860a838 (diff)
downloadbuildroot-novena-f5905dc9eb84815f5afe9feb09500340ad1379cd.tar.gz
buildroot-novena-f5905dc9eb84815f5afe9feb09500340ad1379cd.zip
Do not create new directories in external toolchain
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d1b4c153f..5ebf75eae 100644
--- a/Makefile
+++ b/Makefile
@@ -291,11 +291,13 @@ $(STAGING_DIR):
ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
@mkdir -p $(STAGING_DIR)/usr/lib
else
+ifneq ($(BR2_TOOLCHAIN_EXTERNAL),y)
@ln -snf . $(STAGING_DIR)/usr
@mkdir -p $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)
@ln -snf ../lib $(STAGING_DIR)/usr/lib
@ln -snf ../lib $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib
endif
+endif
@mkdir -p $(STAGING_DIR)/usr/include
$(PROJECT_BUILD_DIR)/.root: