|
|
@ -320,7 +320,7 @@ LIBGCC_MAP=$(lastword $(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.map)) |
|
|
|
LIBGCC_SO=$(lastword $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so.*))
|
|
|
|
LIBGCC_SO=$(lastword $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so.*))
|
|
|
|
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) |
|
|
|
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) |
|
|
|
ifneq ($(if $(CONFIG_USE_UCLIBC),$(CONFIG_GCC_VERSION_LINARO)),)
|
|
|
|
ifneq ($(if $(CONFIG_USE_UCLIBC),$(CONFIG_GCC_VERSION_LINARO)),)
|
|
|
|
BUILD_LIBGCC:=$(if $(CONFIG_avr32)$(CONFIG_m68k)$(CONFIG_powerpc),,$(PKG_BUILD_DIR)/libgcc_s.so.*)
|
|
|
|
BUILD_LIBGCC:=$(if $(CONFIG_m68k)$(CONFIG_powerpc),,$(PKG_BUILD_DIR)/libgcc_s.so.*)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
@ -397,17 +397,17 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) |
|
|
|
|
|
|
|
|
|
|
|
define Package/libgcc/install
|
|
|
|
define Package/libgcc/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib
|
|
|
|
$(INSTALL_DIR) $(1)/lib
|
|
|
|
$(if $(CONFIG_TARGET_avr32)$(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/)
|
|
|
|
$(if $(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/)
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/libatomic/install
|
|
|
|
define Package/libatomic/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib
|
|
|
|
$(INSTALL_DIR) $(1)/lib
|
|
|
|
$(if $(CONFIG_GCC_VERSION_4_6)$(CONFIG_TARGET_avr32)$(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libatomic.so.* $(1)/lib/)
|
|
|
|
$(if $(CONFIG_GCC_VERSION_4_6)$(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libatomic.so.* $(1)/lib/)
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/libgfortran/install
|
|
|
|
define Package/libgfortran/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(if $(CONFIG_TARGET_avr32)$(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgfortran.so.* $(1)/usr/lib/)
|
|
|
|
$(if $(CONFIG_TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgfortran.so.* $(1)/usr/lib/)
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/libssp/install
|
|
|
|
define Package/libssp/install
|
|
|
|