toolchain: remove target dependencies on libgcc/libgfortran, add checks to package install template instead
SVN-Revision: 32176
This commit is contained in:
parent
6a11725d42
commit
b2f70f0df0
1 changed files with 3 additions and 6 deletions
|
@ -28,7 +28,6 @@ endef
|
||||||
define Package/libgcc
|
define Package/libgcc
|
||||||
$(call Package/gcc/Default)
|
$(call Package/gcc/Default)
|
||||||
TITLE:=GCC support library
|
TITLE:=GCC support library
|
||||||
DEPENDS+=@!(TARGET_avr32||TARGET_coldfire)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libgcc/config
|
define Package/libgcc/config
|
||||||
|
@ -111,9 +110,7 @@ define Package/libc/Default
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Base system
|
CATEGORY:=Base system
|
||||||
VERSION:=$(LIBC_VERSION)-$(PKG_RELEASE)
|
VERSION:=$(LIBC_VERSION)-$(PKG_RELEASE)
|
||||||
ifeq ($(TARGET_avr32)$(TARGET_coldfire),)
|
|
||||||
DEPENDS:=+libgcc
|
DEPENDS:=+libgcc
|
||||||
endif
|
|
||||||
URL:=$(LIBC_URL)
|
URL:=$(LIBC_URL)
|
||||||
PKG_FLAGS:=hold essential
|
PKG_FLAGS:=hold essential
|
||||||
endef
|
endef
|
||||||
|
@ -201,7 +198,7 @@ endef
|
||||||
define Package/libgfortran
|
define Package/libgfortran
|
||||||
$(call Package/gcc/Default)
|
$(call Package/gcc/Default)
|
||||||
TITLE:=GFortran support library
|
TITLE:=GFortran support library
|
||||||
DEPENDS+=@!(TARGET_avr32||TARGET_coldfire) @INSTALL_GFORTRAN
|
DEPENDS+=@INSTALL_GFORTRAN
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libgfortran/config
|
define Package/libgfortran/config
|
||||||
|
@ -358,12 +355,12 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
|
||||||
|
|
||||||
define Package/libgcc/install
|
define Package/libgcc/install
|
||||||
$(INSTALL_DIR) $(1)/lib
|
$(INSTALL_DIR) $(1)/lib
|
||||||
$(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/
|
$(if $(TARGET_avr32)$(TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libgfortran/install
|
define Package/libgfortran/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(TOOLCHAIN_DIR)/lib/libgfortran.so.* $(1)/usr/lib/
|
$(if $(TARGET_avr32)$(TARGET_coldfire),,$(CP) $(TOOLCHAIN_DIR)/lib/libgfortran.so.* $(1)/usr/lib/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libssp/install
|
define Package/libssp/install
|
||||||
|
|
Loading…
Reference in a new issue