From: Ulf Samuelsson Date: Sun, 7 Oct 2007 18:23:43 +0000 (-0000) Subject: Do not create new directories in external toolchain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5905dc9eb84815f5afe9feb09500340ad1379cd;p=buildroot.git Do not create new directories in external toolchain --- 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