diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-09 20:36:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-09 20:36:29 +0000 |
commit | 32d8fac4779561095aac15a3c1d0c875ac4447ce (patch) | |
tree | ed9c1cf0b84eeaf5074b8d0713e7c6896cfd325b /package/base-files/Makefile | |
parent | 8ed5701d3d91489b88fb7fae604b251a953cfdeb (diff) | |
download | mtk-20170518-32d8fac4779561095aac15a3c1d0c875ac4447ce.zip mtk-20170518-32d8fac4779561095aac15a3c1d0c875ac4447ce.tar.gz mtk-20170518-32d8fac4779561095aac15a3c1d0c875ac4447ce.tar.bz2 |
base-files: only relink libraries if the linaro toolchain is selected
SVN-Revision: 25983
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 086dd32..bf8d30d 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),) |