[oe-commits] org.oe.dev devkitidp-pxa255: use COMPATIBLE_MACHINE instead of python function, use KERNELORG_MIRROR
hrw commit
openembedded-commits at lists.openembedded.org
Sun Jan 7 00:19:22 UTC 2007
devkitidp-pxa255: use COMPATIBLE_MACHINE instead of python function, use KERNELORG_MIRROR
Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: 47def83cc939b796d835e0a077a571398d185623
ViewMTN: http://monotone.openembedded.org/revision.psp?id=47def83cc939b796d835e0a077a571398d185623
Files:
1
packages/linux/devkitidp-pxa255_2.6.19.bb
Diffs:
#
# mt diff -r92bbaaea086c242d5907b03b181b0e49c026728f -r47def83cc939b796d835e0a077a571398d185623
#
#
#
# patch "packages/linux/devkitidp-pxa255_2.6.19.bb"
# from [d9cdbb6a05cc7ffa0d63f7ff2a134403e529f41b]
# to [ddf60a124917dd197f6cf08a76fb02087ce033eb]
#
============================================================
--- packages/linux/devkitidp-pxa255_2.6.19.bb d9cdbb6a05cc7ffa0d63f7ff2a134403e529f41b
+++ packages/linux/devkitidp-pxa255_2.6.19.bb ddf60a124917dd197f6cf08a76fb02087ce033eb
@@ -1,16 +1,16 @@ DEPENDS = "u-boot"
SECTION = "kernel"
DESCRIPTION = "Linux kernel for the BSQUARE PXA255 DevKitIDP"
LICENSE = "GPL"
PR = "r4"
DEPENDS = "u-boot"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.19.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.19.tar.bz2 \
file://linux-2.6.19_devkitidp1.patch;patch=1 \
file://defconfig"
S = "${WORKDIR}/linux-2.6.19"
-COMPATIBLE_HOST = 'arm.*-linux'
+COMPATIBLE_MACHINE = "devkitidp-pxa255"
inherit kernel
inherit package
@@ -37,11 +37,3 @@ addtask deploy before do_build after do_
do_deploy[dirs] = "${S}"
addtask deploy before do_build after do_compile
-
-python () {
- # Don't build openslug kernel unless we're targeting an nslu2
- mach = bb.data.getVar("MACHINE", d, 1)
- if mach != 'devkitidp-pxa255':
- raise bb.parse.SkipPackage("This kernel only builds for the PXA255 DevKitIDP")
-}
-
More information about the Openembedded-commits
mailing list