1 DESCRIPTION = "Sanitized set of kernel headers for the C library's use."
5 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
7 python __anonymous () {
8 major = d.getVar("PV",True).split('.')[0]
10 d.setVar("HEADER_FETCH_VER", "3.0")
12 d.setVar("HEADER_FETCH_VER", "2.6")
15 SRC_URI = "http://archive.vuplus.com/download/kernel/linux-${KV}_${SRCREV}.tar.bz2"
17 S = "${WORKDIR}/linux-${PV}"
20 case ${TARGET_ARCH} in
29 powerpc*) ARCH=powerpc ;;
32 sparc64*) ARCH=sparc64 ;;
34 x86_64*) ARCH=x86_64 ;;
36 bfin*) ARCH=blackfin ;;
37 microblaze*) ARCH=microblaze ;;
43 oe_runmake allnoconfig ARCH=$ARCH
51 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
52 # Kernel should not be exporting this header
53 rm -f ${D}${exec_prefix}/include/scsi/scsi.h
55 # The ..install.cmd conflicts between various configure runs
56 find ${D}${includedir} -name ..install.cmd | xargs rm -f
59 BBCLASSEXTEND = "nativesdk"
61 #DEPENDS = "cross-linkage"
62 RDEPENDS_${PN}-dev = ""
63 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
65 INHIBIT_DEFAULT_DEPS = "1"
66 DEPENDS += "unifdef-native"