toolchain: fix libgcc and libgfortran packages for avr32 and coldfire
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 17 Jul 2012 17:33:13 +0000 (17:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 17 Jul 2012 17:33:13 +0000 (17:33 +0000)
SVN-Revision: 32772

package/toolchain/Makefile

index a899e09c77abce9648a4dbc3691edba09c55bad4..fac6ecd6c7b240e15a6c3d244cbae03421fb5b59 100644 (file)
@@ -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