eglibc: Make sure that scsi headers are available when needed
authorTom Rini <trini@embeddedalley.com>
Fri, 26 Jun 2009 15:17:53 +0000 (11:17 -0400)
committerTom Rini <trini@embeddedalley.com>
Fri, 26 Jun 2009 15:17:53 +0000 (11:17 -0400)
This is fixing bug #4262 for eglibc (original did glibc and linux-libc-headers).
See b8bb2a62b3916470c752bd79d31322b4358fc676 for the rest of this.

recipes/eglibc/eglibc-package.bbclass
recipes/eglibc/eglibc.inc
recipes/eglibc/eglibc_2.9.bb
recipes/eglibc/eglibc_svn.bb

index f2acc96..d8ac4f4 100644 (file)
@@ -89,9 +89,6 @@ do_install() {
                mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED
        done
        rm -f ${D}/etc/rpc
-        rm -f ${D}${includedir}/scsi/sg.h
-        rm -f ${D}${includedir}/scsi/scsi_ioctl.h
-        rm -f ${D}${includedir}/scsi/scsi.h
 }
 
 TMP_LOCALE="/tmp/locale${libdir}/locale"
index 97a45ac..7863aac 100644 (file)
@@ -3,6 +3,7 @@ HOMEPAGE = "http://www.eglibc.org/home"
 SECTION = "libs"
 PRIORITY = "required"
 LICENSE = "LGPL"
+INC_PR = "r4"
 # nptl needs unwind support in gcc, which can't be built without glibc.
 DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers"
 #this leads to circular deps, so lets not add it yet
index ecd21de..b3786d3 100644 (file)
@@ -4,7 +4,7 @@ DEPENDS += "gperf-native"
 DEFAULT_PREFERENCE = "1"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/eglibc-svn"
 PV = "2.9"
-PR = "r4"
+PR = "${INC_PR}.1"
 SVN_REV="7430"
 EGLIBC_BRANCH="eglibc-2_9"
 SRC_URI = "svn://svn.eglibc.org/branches;module=eglibc-2_9;rev=${SVN_REV};proto=svn \
index a2d3e87..4202a7d 100644 (file)
@@ -5,7 +5,7 @@ SRCREV = "7542"
 # DEFAULT_PREFERENCE = "-1"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/eglibc-svn"
 PV = "2.9+svnr${SRCREV}"
-PR = "r3"
+PR = "${INC_PR}.1"
 EGLIBC_BRANCH="trunk"
 SRC_URI = "svn://svn.eglibc.org;module=trunk \
            file://eglibc-svn-arm-lowlevellock-include-tls.patch;patch=1 \