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: 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-2.6.22.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 \
  
negative.code: 
  #	file://0009-cursor-fix.patch
  
  
  
  # Note, for 2.6.22, we are no longer using the compulab binary
  # flash driver -- use JFFS2 instead
  # see notes in conf/machine/compulab-pxa270.conf
  
  S = "${WORKDIR}/linux-${PV}"
  
  COMPATIBLE_HOST = 'arm.*-linux'
  COMPATIBLE_MACHINE = "compulab-pxa270"
  
  inherit kernel
  inherit package
  