diff options
author | Koen Kooi <koen@openembedded.org> | 2007-08-13 21:36:31 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-08-13 21:36:31 +0000 |
commit | f566e36a87920dc7a2600a4c83514806d5971c94 (patch) | |
tree | b9d6b4cb729135a8629067aff6a99389c52bec16 /packages/linux | |
parent | 4eb19493333a5367f7c1bf403594ef802b23864b (diff) |
compulab-pxa270: base on linux.inc to get a fixed configure and deploy
* this fixes the eabi regression that was fixed in .20 but not in .22
Diffstat (limited to 'packages/linux')
-rw-r--r-- | packages/linux/compulab-pxa270_2.6.22.bb | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/packages/linux/compulab-pxa270_2.6.22.bb b/packages/linux/compulab-pxa270_2.6.22.bb index 84e66e3c8f..31a925d2e5 100644 --- a/packages/linux/compulab-pxa270_2.6.22.bb +++ b/packages/linux/compulab-pxa270_2.6.22.bb @@ -1,9 +1,11 @@ +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-2.6.22.tar.bz2 \ +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 \ @@ -17,13 +19,16 @@ SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.tar.bz2 \ # 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-2.6.22" +S = "${WORKDIR}/linux-${PV}" COMPATIBLE_HOST = 'arm.*-linux' +COMPATIBLE_MACHINE = "compulab-pxa270" inherit kernel inherit package @@ -33,16 +38,6 @@ 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 import os.path @@ -68,10 +63,5 @@ python do_compulab_image() { 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" - |