projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a11725
)
toolchain: remove target dependencies on libgcc/libgfortran, add checks to package...
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 10 Jun 2012 22:24:28 +0000
(22:24 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 10 Jun 2012 22:24:28 +0000
(22:24 +0000)
SVN-Revision: 32176
package/toolchain/Makefile
patch
|
blob
|
history
diff --git
a/package/toolchain/Makefile
b/package/toolchain/Makefile
index 227f302a9f92651a7ae2b0c8881daba157d3a004..c8105c30d3311806e65b7732aaa966060af44264 100644
(file)
--- a/
package/toolchain/Makefile
+++ b/
package/toolchain/Makefile
@@
-28,7
+28,6
@@
endef
define Package/libgcc
$(call Package/gcc/Default)
TITLE:=GCC support library
define Package/libgcc
$(call Package/gcc/Default)
TITLE:=GCC support library
- DEPENDS+=@!(TARGET_avr32||TARGET_coldfire)
endef
define Package/libgcc/config
endef
define Package/libgcc/config
@@
-111,9
+110,7
@@
define Package/libc/Default
SECTION:=libs
CATEGORY:=Base system
VERSION:=$(LIBC_VERSION)-$(PKG_RELEASE)
SECTION:=libs
CATEGORY:=Base system
VERSION:=$(LIBC_VERSION)-$(PKG_RELEASE)
-ifeq ($(TARGET_avr32)$(TARGET_coldfire),)
DEPENDS:=+libgcc
DEPENDS:=+libgcc
-endif
URL:=$(LIBC_URL)
PKG_FLAGS:=hold essential
endef
URL:=$(LIBC_URL)
PKG_FLAGS:=hold essential
endef
@@
-201,7
+198,7
@@
endef
define Package/libgfortran
$(call Package/gcc/Default)
TITLE:=GFortran support library
define Package/libgfortran
$(call Package/gcc/Default)
TITLE:=GFortran support library
- DEPENDS+=@
!(TARGET_avr32||TARGET_coldfire) @
INSTALL_GFORTRAN
+ DEPENDS+=@INSTALL_GFORTRAN
endef
define Package/libgfortran/config
endef
define Package/libgfortran/config
@@
-358,12
+355,12
@@
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
define Package/libgcc/install
$(INSTALL_DIR) $(1)/lib
define Package/libgcc/install
$(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
define Package/libgfortran/install
$(INSTALL_DIR) $(1)/usr/lib
endef
define Package/libgfortran/install
$(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
define Package/libssp/install
endef
define Package/libssp/install