mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-06 18:09:44 +03:00
Do not create new directories in external toolchain
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user