X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ac52e3bd03bcaf6ad5c48c01a4697aa201000433..fd7d7215c62c223031426b1b84e96cd4186bd148:/package/base-files/Makefile diff --git a/package/base-files/Makefile b/package/base-files/Makefile index cc6ce5d2a..1c6cc0578 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME) PKG_FILE_DEPEND:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ @@ -72,7 +72,7 @@ endef define Package/libgcc $(call Package/gcc/Default) TITLE:=GCC support library - DEPENDS:=@!LINUX_2_6_AVR32 + DEPENDS:=@!LINUX_2_6_AVR32||@!NATIVE_TOOLCHAIN endef define Package/libssp @@ -80,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 @@ -123,7 +130,7 @@ define Package/base-files$(TARGET)/install fi; \ fi $(SED) 's,$$$$R,r$(REV),g' $(1)/etc/banner - $(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' $(1)/etc/ipkg.conf + $(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf mkdir -p $(1)/dev mkdir -p $(1)/etc/crontabs mkdir -p $(1)/jffs @@ -161,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/ @@ -192,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))