aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-09 20:36:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-09 20:36:29 +0000
commit7905f8b2e6633817a52d6605f9aff98dbb8999d2 (patch)
tree18de34c8ec17b615397d953507d15c055d084e58 /package/base-files
parent37c27171e6c70cdb69e29c4da9180f87defaa3eb (diff)
downloadupstream-7905f8b2e6633817a52d6605f9aff98dbb8999d2.tar.gz
upstream-7905f8b2e6633817a52d6605f9aff98dbb8999d2.tar.bz2
upstream-7905f8b2e6633817a52d6605f9aff98dbb8999d2.zip
base-files: only relink libraries if the linaro toolchain is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 086dd32bd8..bf8d30d7b7 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -328,7 +328,9 @@ LIBGCC_A=$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc_pic.a)
LIBGCC_MAP=$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.map)
LIBGCC_SO=$(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so.*)
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
- BUILD_LIBGCC:=$(if $(CONFIG_avr32)$(CONFIG_m68k)$(CONFIG_powerpc),,$(PKG_BUILD_DIR)/libgcc_s.so.*)
+ ifneq ($(CONFIG_GCC_VERSION_LINARO),)
+ BUILD_LIBGCC:=$(if $(CONFIG_avr32)$(CONFIG_m68k)$(CONFIG_powerpc),,$(PKG_BUILD_DIR)/libgcc_s.so.*)
+ endif
endif
ifneq ($(BUILD_LIBGCC),)