summaryrefslogtreecommitdiff
path: root/packages/uclibc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/uclibc')
-rw-r--r--packages/uclibc/uclibc-0.9.26/sh3/uClibc.config0
-rw-r--r--packages/uclibc/uclibc-0.9.27/sh3/uClibc.config0
-rw-r--r--packages/uclibc/uclibc-cvs/sh3/uClibc.config0
-rw-r--r--packages/uclibc/uclibc.inc29
-rw-r--r--packages/uclibc/uclibc_0.9.26.bb2
-rw-r--r--packages/uclibc/uclibc_0.9.27.bb9
-rw-r--r--packages/uclibc/uclibc_cvs.bb2
7 files changed, 29 insertions, 13 deletions
diff --git a/packages/uclibc/uclibc-0.9.26/sh3/uClibc.config b/packages/uclibc/uclibc-0.9.26/sh3/uClibc.config
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/uclibc/uclibc-0.9.26/sh3/uClibc.config
diff --git a/packages/uclibc/uclibc-0.9.27/sh3/uClibc.config b/packages/uclibc/uclibc-0.9.27/sh3/uClibc.config
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/uclibc/uclibc-0.9.27/sh3/uClibc.config
diff --git a/packages/uclibc/uclibc-cvs/sh3/uClibc.config b/packages/uclibc/uclibc-cvs/sh3/uClibc.config
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/uclibc/uclibc-cvs/sh3/uClibc.config
diff --git a/packages/uclibc/uclibc.inc b/packages/uclibc/uclibc.inc
index a308926b86..04b5492da3 100644
--- a/packages/uclibc/uclibc.inc
+++ b/packages/uclibc/uclibc.inc
@@ -152,16 +152,23 @@ do_install() {
# This conflicts with the c++ version of this header
rm -f ${D}${prefix}/include/bits/atomicity.h
- install -d ${D}${includedir}
- mv ${D}${prefix}/include/* ${D}${includedir}/
- rmdir ${D}${prefix}/include
-
- install -d ${D}${libdir}
- mv ${D}${prefix}/lib/* ${D}${libdir}/
- rmdir ${D}${prefix}/lib
-
- install -d ${D}${bindir}
- mv ${D}usr/bin/* ${D}${bindir}/
- rmdir ${D}usr/bin
+ # ugh.. uclibc doesn't like obeying our path variables.
+ if [ "${includedir}" != "${prefix}/include" ]; then
+ install -d ${D}${includedir}
+ mv ${D}${prefix}/include/* ${D}${includedir}/
+ rmdir ${D}${prefix}/include
+ fi
+
+ if [ "${libdir}" != "${prefix}/lib" ]; then
+ install -d ${D}${libdir}
+ mv ${D}${prefix}/lib/* ${D}${libdir}/
+ rmdir ${D}${prefix}/lib
+ fi
+
+ if [ "${bindir}" != "/usr/bin" ]; then
+ install -d ${D}${bindir}
+ mv ${D}/usr/bin/* ${D}${bindir}/
+ rmdir ${D}/usr/bin
+ fi
}
diff --git a/packages/uclibc/uclibc_0.9.26.bb b/packages/uclibc/uclibc_0.9.26.bb
index 6dd5f28465..57f89be868 100644
--- a/packages/uclibc/uclibc_0.9.26.bb
+++ b/packages/uclibc/uclibc_0.9.26.bb
@@ -1,4 +1,4 @@
-PR = "r3"
+PR = "r4"
include uclibc.inc
diff --git a/packages/uclibc/uclibc_0.9.27.bb b/packages/uclibc/uclibc_0.9.27.bb
index e69de29bb2..96b1d34594 100644
--- a/packages/uclibc/uclibc_0.9.27.bb
+++ b/packages/uclibc/uclibc_0.9.27.bb
@@ -0,0 +1,9 @@
+DEFAULT_PREFERENCE = "1"
+PR = "r1"
+
+include uclibc.inc
+
+SRC_URI += "http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2 \
+ file://dyn-ldconfig.patch;patch=1 \
+ file://nokernelheadercheck.patch;patch=1"
+S = "${WORKDIR}/uClibc-${PV}"
diff --git a/packages/uclibc/uclibc_cvs.bb b/packages/uclibc/uclibc_cvs.bb
index 954ad645f4..c7adc07c4e 100644
--- a/packages/uclibc/uclibc_cvs.bb
+++ b/packages/uclibc/uclibc_cvs.bb
@@ -1,5 +1,5 @@
PV = "0.0cvs${CVSDATE}"
-PR = "r7"
+PR = "r8"
include uclibc.inc