projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c6c85c
)
Do not create new directories in external toolchain
author
Ulf Samuelsson
<ulf.samuelsson@atmel.com>
Sun, 7 Oct 2007 18:23:43 +0000
(18:23 -0000)
committer
Ulf Samuelsson
<ulf.samuelsson@atmel.com>
Sun, 7 Oct 2007 18:23:43 +0000
(18:23 -0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index d1b4c153ff5de5083cbd2430eb04fb36e1dd2c3b..5ebf75eaee7ee5848a6b27ea4a2db93ef07fcf72 100644
(file)
--- 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