summaryrefslogtreecommitdiff
path: root/meta/packages/linux-libc-headers
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-06-18 09:44:33 +0100
committerJoshua Lock <josh@linux.intel.com>2010-06-18 10:33:21 +0100
commit3939b9c02b17d4ce2475dba1f8b643a4e8f9c86e (patch)
treeb6ad1ec00e7f697e009dd8b2602f2dac0be6b468 /meta/packages/linux-libc-headers
parentd2920a042af7dcab71b0bcad9798546fa4834fa6 (diff)
downloadopenembedded-core-3939b9c02b17d4ce2475dba1f8b643a4e8f9c86e.tar.gz
openembedded-core-3939b9c02b17d4ce2475dba1f8b643a4e8f9c86e.tar.bz2
openembedded-core-3939b9c02b17d4ce2475dba1f8b643a4e8f9c86e.tar.xz
openembedded-core-3939b9c02b17d4ce2475dba1f8b643a4e8f9c86e.zip
linux-libc-headers: delete include/scsi/scsi.h, it's not for userspace
include/scsi/scsi.h is not userland parsable and research indicates this is because the header should not be exposed to userspace. Therefore remove it in the install. Research done by Tom Rini <tom_rini@mentor.com> in OE commit 91d3d92a626da89dfe13d63e68a90dbafdbaef1d This has been the case since kernel 2.6.31 Bump glibc and uclibc PR's so that users have sane <scsi/scsi.h> Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/linux-libc-headers')
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.33.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.33.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.33.bb
index 4a63910e8..a299f55c2 100644
--- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.33.bb
+++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.33.bb
@@ -2,7 +2,7 @@ require linux-libc-headers.inc
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "unifdef-native"
-PR = "r1"
+PR = "r2"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://hayes-gone.patch"
@@ -41,6 +41,8 @@ do_compile () {
do_install() {
set_arch
oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
+ # Kernel should not be exporting this header
+ rm -f ${D}${exec_prefix}/include/scsi/scsi.h
}
BBCLASSEXTEND = "nativesdk"