anchor.diff:  KERNEL_IMAGETYPE = "zImage"
   
   FILES_kernel-image = ""
  -
  -do_configure_prepend() {
  -	install -m 0644 ${WORKDIR}/defconfig ${S}/.config
  -}
  -
  -do_deploy() {
  -	KNAME=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin
  -        install -d ${DEPLOY_DIR_IMAGE}
  -        install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${KNAME}
  -}
   
   python do_compulab_image() {
   	import os
  
positive.code: 	fo.close()
  }
  
  do_deploy[dirs] = "${S}"
  
  addtask deploy before do_install after do_compile
  addtask compulab_image before do_install after do_deploy
  
  COMPATIBLE_MACHINE = "compulab-pxa270"
  
  
negative.code: require linux.inc
  
  SECTION = "kernel"
  DESCRIPTION = "Linux kernel for the Compulab PXA270 system"
  LICENSE = "GPL"
  PR = "r0"
  
  SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
  	file://0001-cm-x270-base2.patch;patch=1 \
  	file://0002-cm-x270-match-type.patch;patch=1 \
  	file://0003-cm-x270-ide.patch;patch=1 \
  