package libssp for apps that need it (only enabled for gcc4)
SVN-Revision: 6584
This commit is contained in:
parent
12051a5761
commit
f38df5a0af
1 changed files with 18 additions and 1 deletions
|
@ -69,6 +69,16 @@ define Package/libgcc
|
||||||
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
|
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/libssp
|
||||||
|
SECTION:=libs
|
||||||
|
CATEGORY:=Base system
|
||||||
|
DEPENDS:=@!NATIVE_TOOLCHAIN
|
||||||
|
DEFAULT:=m
|
||||||
|
TITLE:=GCC support library
|
||||||
|
URL:=http://gcc.gnu.org/
|
||||||
|
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libpthread
|
define Package/libpthread
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
|
@ -140,6 +150,13 @@ define Package/libgcc/install
|
||||||
$(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(1)/lib/
|
$(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(1)/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(word 1,$(subst ., ,$(LIBGCC_VERSION))),4)
|
||||||
|
define Package/libssp/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib
|
||||||
|
$(CP) $(STAGING_DIR)/lib/libssp.so.* $(1)/lib/
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define Package/libpthread/install
|
define Package/libpthread/install
|
||||||
$(INSTALL_DIR) $(1)/lib
|
$(INSTALL_DIR) $(1)/lib
|
||||||
$(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/
|
$(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/
|
||||||
|
@ -160,7 +177,7 @@ endif
|
||||||
|
|
||||||
$(eval $(call BuildPackage,base-files$(TARGET)))
|
$(eval $(call BuildPackage,base-files$(TARGET)))
|
||||||
$(eval $(call BuildPackage,libgcc))
|
$(eval $(call BuildPackage,libgcc))
|
||||||
|
$(eval $(call BuildPackage,libssp))
|
||||||
$(eval $(call BuildPackage,libpthread))
|
$(eval $(call BuildPackage,libpthread))
|
||||||
$(eval $(call BuildPackage,uclibc))
|
$(eval $(call BuildPackage,uclibc))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue