X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/561a7c4c00d330400688a58b47ba08265189d311..61994097f2eb2a14811bfbf2f5e3b4c4449021d7:/package/base-files/Makefile?ds=inline diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 8d265f07e..eadfb9b15 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -72,6 +72,7 @@ endef define Package/libgcc $(call Package/gcc/Default) TITLE:=GCC support library + DEPENDS:=@!LINUX_2_6_AVR32 endef define Package/libssp @@ -79,6 +80,13 @@ define Package/libssp TITLE:=GCC support library endef +define Package/libstdcpp + $(call Package/gcc/Default) + NAME:=libstdc++ + TITLE:=GNU Standard C++ Library v3 + DEPENDS:=@!NATIVE_TOOLCHAIN&&@INSTALL_LIBSTDCPP +endef + define Package/uclibc/Default SECTION:=libs CATEGORY:=Base system @@ -160,6 +168,11 @@ ifeq ($(word 1,$(subst ., ,$(LIBGCC_VERSION))),4) endef endif +define Package/libstdcpp/install + $(INSTALL_DIR) $(1)/lib + $(CP) $(STAGING_DIR)/lib/libstdc++.so.* $(1)/lib/ +endef + define Package/libpthread/install $(INSTALL_DIR) $(1)/lib $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/ @@ -191,5 +204,6 @@ endif $(eval $(call BuildPackage,base-files$(TARGET))) $(eval $(call BuildPackage,libgcc)) $(eval $(call BuildPackage,libssp)) +$(eval $(call BuildPackage,libstdcpp)) $(eval $(call BuildPackage,libpthread)) $(eval $(call BuildPackage,uclibc))