projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0eb0e62
)
package libssp for apps that need it (only enabled for gcc4)
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 16 Mar 2007 20:37:04 +0000
(20:37 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 16 Mar 2007 20:37:04 +0000
(20:37 +0000)
SVN-Revision: 6584
package/base-files/Makefile
patch
|
blob
|
history
diff --git
a/package/base-files/Makefile
b/package/base-files/Makefile
index 30e90453eeed1d9250dcf25ec61edb2024d11f48..345ae72f9f7b0b4ecb9fa087b182001981aad16e 100644
(file)
--- a/
package/base-files/Makefile
+++ b/
package/base-files/Makefile
@@
-69,6
+69,16
@@
define Package/libgcc
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
endef
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
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
SECTION:=libs
CATEGORY:=Libraries
define Package/libpthread
SECTION:=libs
CATEGORY:=Libraries
@@
-140,6
+150,13
@@
define Package/libgcc/install
$(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(1)/lib/
endef
$(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(1)/lib/
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
$(INSTALL_DIR) $(1)/lib
$(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/
define Package/libpthread/install
$(INSTALL_DIR) $(1)/lib
$(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/
@@
-160,7
+177,7
@@
endif
$(eval $(call BuildPackage,base-files$(TARGET)))
$(eval $(call BuildPackage,libgcc))
$(eval $(call BuildPackage,base-files$(TARGET)))
$(eval $(call BuildPackage,libgcc))
+$(eval $(call BuildPackage,libssp))
$(eval $(call BuildPackage,libpthread))
$(eval $(call BuildPackage,uclibc))
$(eval $(call BuildPackage,libpthread))
$(eval $(call BuildPackage,uclibc))
-