From fa73d6d458287fc4eea1f328d2b092ca03a3366c Mon Sep 17 00:00:00 2001
From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 17 Jul 2012 17:33:13 +0000
Subject: [package] toolchain: fix libgcc and libgfortran packages for avr32
 and coldfire

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32772 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/toolchain/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'package/toolchain')

diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile
index a899e09c7..fac6ecd6c 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
-- 
cgit v1.2.3