From f5905dc9eb84815f5afe9feb09500340ad1379cd Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sun, 7 Oct 2007 18:23:43 +0000 Subject: [PATCH] Do not create new directories in external toolchain --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index d1b4c153ff..5ebf75eaee 100644 --- a/Makefile +++ b/Makefile @@ -291,10 +291,12 @@ $(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 -- 2.30.2