SECTION = "kernel" DESCRIPTION = "Linux kernel for the KARO TRITON XScale Board" LICENSE = "GPL" MAINTAINER = "Justin Huff > ${S}/.config rm -rf ${S}/include/asm-arm/arch ${S}/include/asm-arm/proc \ ${S}/include/asm-arm/.proc ${S}/include/asm-arm/.arch } do_deploy() { install -d ${DEPLOY_DIR_IMAGE} install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_SUFFIX} } do_deploy[dirs] = "${S}" addtask deploy before do_build after do_compile python () { # Don't build kernel unless we're targeting an triton mach = bb.data.getVar("MACHINE", d, 1) if mach != 'triton': raise bb.parse.SkipPackage("The triton kernel is only for use on triton machines") }