Skip to contentSkip to conversation

svn commit: trunk/buildroot

Buildroot ulf at uclibc.org 1 participant 1 message Oct 7, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-10-07 11:23:43 -0700 (Sun, 07 Oct 2007) New Revision: 20198

Log:
Do not create new directories in external toolchain

Modified:
trunk/buildroot/Makefile

Changeset:
Modified: trunk/buildroot/Makefile
===================================================================

buildroot/Makefile +2 -0
@@ -291,11 +291,13 @@
 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: