From: Jo-Philipp Wich Date: Tue, 17 Jul 2012 17:33:13 +0000 (+0000) Subject: toolchain: fix libgcc and libgfortran packages for avr32 and coldfire X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c3b98c8fc742678ae35017356b24a6a519707783;p=openwrt%2Fstaging%2Fflorian.git toolchain: fix libgcc and libgfortran packages for avr32 and coldfire SVN-Revision: 32772 --- diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile index a899e09c77..fac6ecd6c7 100644 --- a/package/toolchain/Makefile +++ b/package/toolchain/Makefile @@ -355,12 +355,12 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) define Package/libgcc/install $(INSTALL_DIR) $(1)/lib - $(if $(TARGET_avr32)$(TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/) + $(if $(CONFIG_TARGET_avr32)$(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/) endef define Package/libgfortran/install $(INSTALL_DIR) $(1)/usr/lib - $(if $(TARGET_avr32)$(TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgfortran.so.* $(1)/usr/lib/) + $(if $(CONFIG_TARGET_avr32)$(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgfortran.so.* $(1)/usr/lib/) endef define Package/libssp/install