Also update python functions doing the same job to use COMPATIBLE_(MACHINE|HOST)
S = "${WORKDIR}/linux-2.6.11"
COMPATIBLE_HOST = 'arm.*-linux'
+COMPATIBLE_MACHINE = "devkitidp-pxa255"
inherit kernel
inherit package
do_deploy[dirs] = "${S}"
addtask deploy before do_build after do_compile
-
-python () {
- # Don't build 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")
-}
oe_runmake oldconfig
}
-python __anonymous () {
- import re
- host = bb.data.getVar('HOST_SYS', d, 1)
- if not re.match('arm.*-linux', host):
- raise bb.parse.SkipPackage("incompatible with host %s" % host)
-}
+COMPATIBLE_HOST = 'arm.*-linux'
inherit kernel
-python __anonymous () {
- import re
- host = bb.data.getVar('HOST_SYS', d, 1)
- if not re.match('arm.*-linux', host):
- raise bb.parse.SkipPackage("incompatible with host %s" % host)
-}
+COMPATIBLE_HOST = 'arm.*-linux'
KERNEL_IMAGETYPE = "uImage"
inherit kernel
-python __anonymous () {
- import re
- host = bb.data.getVar('HOST_SYS', d, 1)
- if not re.match('arm.*-linux', host):
- raise bb.parse.SkipPackage("incompatible with host %s" % host)
-}
-
+COMPATIBLE_HOST = 'arm.*-linux'
do_configure_prepend() {
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
addtask deploy before do_build after do_compile
-python () {
- # Don't build kernel unless we're targeting a wrt
- mach = bb.data.getVar("MACHINE", d, 1)
- if mach != 'wrt54':
- raise bb.parse.SkipPackage("Unable to build for non-WRT54 device.")
-}
+COMPATIBLE_MACHINE = "wrt54"
addtask deploy before do_build after do_compile
-python () {
- # Don't build kernel unless we're targeting a wrt
- mach = bb.data.getVar("MACHINE", d, 1)
- if mach != 'wrt54':
- raise bb.parse.SkipPackage("Unable to build for non-WRT54 device.")
-}
+COMPATIBLE_MACHINE = "wrt54"
addtask deploy before do_build after do_compile
-python () {
- # Don't build kernel unless we're targeting a mainstone
- mach = bb.data.getVar("MACHINE", d, 1)
- if mach != 'mainstone':
- raise bb.parse.SkipPackage("This kernel only builds for the Mainstone")
-}
+COMPATIBLE_MACHINE = "mainstone"
addtask deploy before do_build after do_compile
-python () {
- # Don't build the kernel unless we're targeting an nslu2
- mach = bb.data.getVar("MACHINE", d, 1)
- if mach != 'nslu2':
- raise bb.parse.SkipPackage("nslu2-kernel only builds for the Linksys NSLU2")
-}
+COMPATIBLE_MACHINE = "nslu2"
file://defconfig"
S = "${WORKDIR}/linux-2.4.22"
-python () {
- # Don't build unless we're targeting an nslu2
- if bb.data.getVar("MACHINE", d, 1) != "nslu2":
- raise bb.parse.SkipPackage("NSLU2 kernel only builds for the Linksys NSLU2")
-}
-
COMPATIBLE_HOST = 'arm.*-linux'
+COMPATIBLE_MACHINE = "nslu2"
inherit kernel
KERNEL_CCSUFFIX = "-2.95"
KERNEL_LDSUFFIX = "-2.11.2"
COMPATIBLE_HOST = "arm.*-linux"
+COMPATIBLE_MACHINE = '(akita|spitz|borzoi)'
PARALLEL_MAKE = ""
#
KERNEL_CCSUFFIX = "-2.95"
KERNEL_LDSUFFIX = "-2.11.2"
COMPATIBLE_HOST = "arm.*-linux"
+COMPATIBLE_MACHINE = '(c7x0|corgi|husky|shepherd|poodle|poodle255)'
PARALLEL_MAKE = ""
#
KERNEL_CCSUFFIX = "-2.95"
KERNEL_LDSUFFIX = "-2.11.2"
COMPATIBLE_HOST = "arm.*-linux"
+COMPATIBLE_MACHINE = "collie"
EXTRA_OEMAKE = " EMBEDIXRELEASE=-${DISTRO_VERSION}"
module_conf_usbdmonitor = "alias usbd0 usbdmonitor"
+COMPATIBLE_MACHINE = "poodle"
DEPENDS = "poodle-kernel-2.4-embedix poodle255-kernel-2.4-embedix"
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")
-}
+COMPATIBLE_MACHINE = "triton"
FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-kernel', '${FILE_DIRNAME}/nslu2-linksys-kernel-2.4.22', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
-python () {
- # Don't build unslung kernel unless we're targeting an nslu2
- mach = bb.data.getVar("MACHINE", d, 1)
- if mach != 'nslu2':
- raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
-}
+COMPATIBLE_MACHINE = "nslu2"
EXTRA_OEMAKE="CC='${CC}' AS='${AS}' AR='${AR}' LD='${LD}' FPU='${TARGET_FPU}'"
PARALLEL_MAKE = ""
+COMPATIBLE_MACHINE = 'c7x0'
do_install() {
install -d ${D}${bindir}
file://sharpzdc.conf"
S = "${WORKDIR}"
+COMPATIBLE_MACHINE = '(collie|poodle|tosa)'
+
inherit module-base
do_install() {
SECTION = "base"
SRC_URI = "file://header-c700.bin"
LICENSE = "sharp-binary-only"
+COMPATIBLE_MACHINE = '(c7x0|spitz|akita)'
do_stage() {
install -d ${STAGING_LIBDIR}/sharp-flash-header
install -m 0644 ${WORKDIR}/header-c700.bin ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin
PR = "r23"
PACKAGE_ARCH = "${MACHINE}"
+COMPATIBLE_MACHINE = '(collie|poodle|tosa)'
+
KERNEL2418 = "2.4.18-rmk7-pxa3-embedix"
KERNEL2420 = "2.4.20"
SRC_URI = "file://encdec-updater.c"
+COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)'
+
do_compile() {
${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c
}
PACKAGES = ""
PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)'
SRC_URI = "file://updater.sh \
file://gnu-tar.gz"