1 DESCRIPTION = "Sanitized set of kernel headers for the C library's use."
5 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
7 SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v3.0/linux-${PV}.tar.bz2"
9 PACKAGE_ARCH = "${MACHINE_ARCH}"
11 S = "${WORKDIR}/linux-${PV}"
14 case ${TARGET_ARCH} in
23 powerpc*) ARCH=powerpc ;;
26 sparc64*) ARCH=sparc64 ;;
28 x86_64*) ARCH=x86_64 ;;
30 bfin*) ARCH=blackfin ;;
31 microblaze*) ARCH=microblaze ;;
37 oe_runmake allnoconfig ARCH=$ARCH
45 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
46 # Kernel should not be exporting this header
47 rm -f ${D}${exec_prefix}/include/scsi/scsi.h
49 # The ..install.cmd conflicts between various configure runs
50 find ${D}${includedir} -name ..install.cmd | xargs rm -f
53 BBCLASSEXTEND = "nativesdk"
55 #DEPENDS = "cross-linkage"
56 RDEPENDS_${PN}-dev = ""
57 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
59 INHIBIT_DEFAULT_DEPS = "1"
60 DEPENDS += "unifdef-native"