1 DESCRIPTION = "Sanitized set of 2.6 kernel headers for the C library's use."
4 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
8 PACKAGE_ARCH = "${MACHINE_ARCH}"
10 DEPENDS += "unifdef-native"
11 RDEPENDS_${PN}-dev = ""
12 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
14 INHIBIT_DEFAULT_DEPS = "1"
15 DEFAULT_PREFERENCE = "-1"
17 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
18 file://0001-implement-TIF_RESTORE_SIGMASK-support-and-enable-the.patch;patch=1 \
19 file://dvbapi-5.3.patch;patch=1;pnum=1 \
22 SRC_URI[md5sum] = "84c077a37684e4cbfa67b18154390d8a"
23 SRC_URI[sha256sum] = "0acd83f7b85db7ee18c2b0b7505e1ba6fd722c36f49a8870a831c851660e3512"
25 S = "${WORKDIR}/linux-${PV}"
28 case ${TARGET_ARCH} in
37 powerpc*) ARCH=powerpc ;;
40 sparc64*) ARCH=sparc64 ;;
42 x86_64*) ARCH=x86_64 ;;
44 bfin*) ARCH=blackfin ;;
50 oe_runmake allnoconfig ARCH=$ARCH
58 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
59 # Kernel should not be exporting this header
60 rm -rf ${D}${includedir}/scsi
62 # The ..install.cmd conflicts between various configure runs
63 #find ${D}${includedir} -name ..install.cmd | xargs rm -f
66 BBCLASSEXTEND = "nativesdk"