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>
This commit is contained in:
parent
d2920a042a
commit
3939b9c02b
|
@ -1,6 +1,6 @@
|
|||
require glibc.inc
|
||||
|
||||
PR = "r13"
|
||||
PR = "r14"
|
||||
|
||||
# the -isystem in bitbake.conf screws up glibc do_stage
|
||||
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
||||
|
|
|
@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm"
|
|||
PACKAGES_DYNAMIC = "libc6*"
|
||||
RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
# the -isystem in bitbake.conf screws up glibc do_stage
|
||||
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
UCLIBC_BASE ?= "0.9.30.1"
|
||||
|
||||
require uclibc.inc
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
|
||||
|
||||
|
|
Loading…
Reference in New Issue