Do not create new directories in external toolchain
This commit is contained in:
parent
0c6c85cbfa
commit
f5905dc9eb
2
Makefile
2
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user