summaryrefslogtreecommitdiffstats
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)
downloadpoky-3939b9c02b17d4ce2475dba1f8b643a4e8f9c86e.tar.gz
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 4a63910e82..a299f55c29 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
2 2
3INHIBIT_DEFAULT_DEPS = "1" 3INHIBIT_DEFAULT_DEPS = "1"
4DEPENDS += "unifdef-native" 4DEPENDS += "unifdef-native"
5PR = "r1" 5PR = "r2"
6 6
7SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ 7SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
8 file://hayes-gone.patch" 8 file://hayes-gone.patch"
@@ -41,6 +41,8 @@ do_compile () {
41do_install() { 41do_install() {
42 set_arch 42 set_arch
43 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH 43 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
44 # Kernel should not be exporting this header
45 rm -f ${D}${exec_prefix}/include/scsi/scsi.h
44} 46}
45 47
46BBCLASSEXTEND = "nativesdk" 48BBCLASSEXTEND = "nativesdk"