Skip to contentSkip to conversation

uclibc++: moved to git head

PATCH Superseded Frans Meulenbroeks 1 participant 1 message Nov 22, 2010

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 uclibc++: moved to git head

Removed the 0.1.9 version as it is quite old and does not compile renamed files dir to uclibc++
added patches to get things compiling.
Patches are gracefully picked from openwrt
(https://dev.openwrt.org/browser/packages/libs/uclibc%2B%2B/patches?rev=24017)

note that it was decided to move to git head instead of the latest release (0.2.2) because there were quite some patches after 0.2.2 was made and it does not look like there will be a new release soon (there is hardly any activity last 2 years or so).

---

This version does move to a newer rev so does not need a patch for cstring

 recipes/uclibc++/files/defconfig                   |   64 ------------------
 recipes/uclibc++/files/nobash.patch                |   13 ----
 recipes/uclibc++/uclibc++/006-eabi_fix.patch       |   42 ++++++++++++
 recipes/uclibc++/uclibc++/009-compile_fixes.patch  |   70 ++++++++++++++++++++
 .../uclibc++/900-dependent_exception.patch         |   68 +++++++++++++++++++
 recipes/uclibc++/uclibc++/defconfig                |   53 +++++++++++++++
 recipes/uclibc++/uclibc++/nobash.patch             |   13 ++++
 recipes/uclibc++/uclibc++_0.1.9.bb                 |   54 ---------------
 recipes/uclibc++/uclibc++_git.bb                   |   50 ++++++++++++++
 9 files changed, 296 insertions(+), 131 deletions(-)
 delete mode 100644 recipes/uclibc++/files/defconfig
 delete mode 100644 recipes/uclibc++/files/nobash.patch
 create mode 100644 recipes/uclibc++/uclibc++/006-eabi_fix.patch
 create mode 100644 recipes/uclibc++/uclibc++/009-compile_fixes.patch
 create mode 100644 recipes/uclibc++/uclibc++/900-dependent_exception.patch
 create mode 100644 recipes/uclibc++/uclibc++/defconfig
 create mode 100644 recipes/uclibc++/uclibc++/nobash.patch
 delete mode 100644 recipes/uclibc++/uclibc++_0.1.9.bb
 create mode 100644 recipes/uclibc++/uclibc++_git.bb
recipes/uclibc++/files/defconfig deleted +0 -64
deleted file mode 100644
index 19b4aa5..0000000
@@ -1,64 +0,0 @@
-#
-# Automatically generated make config: don't edit
-#
-# TARGET_arm is not set
-TARGET_i386=y
-# TARGET_powerpc is not set
-
-#
-# Target Architecture Features and Options
-#
-HAVE_ELF=y
-TARGET_ARCH="i386"
-# CONFIG_GENERIC_386 is not set
-# CONFIG_386 is not set
-# CONFIG_486 is not set
-# CONFIG_586 is not set
-# CONFIG_586MMX is not set
-# CONFIG_686 is not set
-# CONFIG_PENTIUMIII is not set
-CONFIG_PENTIUM4=y
-# CONFIG_K6 is not set
-# CONFIG_K7 is not set
-# CONFIG_CRUSOE is not set
-# CONFIG_WINCHIPC6 is not set
-# CONFIG_WINCHIP2 is not set
-# CONFIG_CYRIXIII is not set
-ARCH_LITTLE_ENDIAN=y
-# ARCH_BIG_ENDIAN is not set
-UCLIBCXX_HAS_FLOATS=y
-WARNINGS="-Wall"
-HAVE_DOT_CONFIG=y
-
-#
-# String and I/O Stream Support
-#
-# UCLIBCXX_HAS_WCHAR is not set
-UCLIBCXX_IOSTREAM_BUFSIZE=32
-UCLIBCXX_HAS_LFS=y
-UCLIBCXX_SUPPORT_CDIR=y
-UCLIBCXX_SUPPORT_CIN=y
-UCLIBCXX_SUPPORT_COUT=y
-UCLIBCXX_SUPPORT_CERR=y
-
-#
-# STL and Code Expansion
-#
-UCLIBCXX_STL_BUFFER_SIZE=32
-UCLIBCXX_CODE_EXPANSION=y
-UCLIBCXX_EXPAND_STRING_CHAR=y
-UCLIBCXX_EXPAND_VECTOR_BASIC=y
-UCLIBCXX_EXPAND_ISTREAM_CHAR=y
-UCLIBCXX_EXPAND_OSTREAM_CHAR=y
-UCLIBCXX_EXPAND_FSTREAM_CHAR=y
-
-#
-# Library Installation Options
-#
-UCLIBCXX_RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc"
-UCLIBCXX_RUNTIME_INCLUDE_SUBDIR="/include"
-UCLIBCXX_RUNTIME_LIB_SUBDIR="/lib"
-UCLIBCXX_RUNTIME_BIN_SUBDIR="/bin"
-UCLIBCXX_EXCEPTION_SUPPORT=y
-IMPORT_LIBSUP=y
-# DODEBUG is not set
recipes/uclibc++/files/nobash.patch deleted +0 -13
deleted file mode 100644
index 657c47b..0000000
@@ -1,13 +0,0 @@
-Index: uClibc++/bin/Makefile
-===================================================================
---- uClibc++.orig/bin/Makefile	2005-01-18 12:22:26.000000000 -0500
-+++ uClibc++/bin/Makefile	2005-03-10 18:19:30.799531304 -0500
-@@ -26,7 +26,7 @@
- 	$(INSTALL) -m 755 $(WRAPPER) $(PREFIX)$(UCLIBCXX_RUNTIME_PREFIX)$(UCLIBCXX_RUNTIME_BIN_SUBDIR)
- 
- $(WRAPPER):
--	echo "#!/bin/bash" > $(WRAPPER)
-+	echo "#!/bin/sh" > $(WRAPPER)
- 	echo "" >> $(WRAPPER)
- 	echo "OPTIONS=\"$(INITIALOPTIONS)\"" >> $(WRAPPER)
- 	echo 'INCLIB="Y"' >> $(WRAPPER)
recipes/uclibc++/uclibc++/006-eabi_fix.patch new file +42 -0

42 lines not on this page · raw message

recipes/uclibc++/uclibc++/009-compile_fixes.patch new file +70 -0

70 lines not on this page · raw message

recipes/uclibc++/uclibc++/900-dependent_exception.patch new file +68 -0

68 lines not on this page · raw message

recipes/uclibc++/uclibc++/defconfig new file +53 -0

53 lines not on this page · raw message

recipes/uclibc++/uclibc++/nobash.patch new file +13 -0
new file mode 100644
index 0000000..0b1501b
@@ -0,0 +1,13 @@
+Index: uClibc++-0.2.2/bin/Makefile
+===========================================================================
+--- uClibc++-0.2.2.orig/bin/Makefile	2007-06-03 23:51:12.000000000 +0100
++++ uClibc++-0.2.2/bin/Makefile	        2010-11-11 10:09:48.000000000 +0000
+@@ -13,7 +13,7 @@
+ 	$(INSTALL) -m 755 $(WRAPPER) $(PREFIX)$(UCLIBCXX_RUNTIME_BINDIR)
+ 
+ $(WRAPPER):
+-	echo "#!/bin/bash" > $(WRAPPER)
++	echo "#!/bin/sh" > $(WRAPPER)
+ 	echo "" >> $(WRAPPER)
+ 	echo 'WRAPPER_INCLUDEDIR="$${WRAPPER_INCLUDEDIR:=-I$(UCLIBCXX_RUNTIME_INCLUDEDIR)}"' >> $(WRAPPER)
+ 	echo 'WRAPPER_LIBDIR="$${WRAPPER_LIBDIR:=-L$(UCLIBCXX_RUNTIME_LIBDIR)}"' >> $(WRAPPER)
recipes/uclibc++/uclibc++_0.1.9.bb deleted +0 -54

54 lines not on this page · raw message

recipes/uclibc++/uclibc++_git.bb new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
1.7.0.4