ixp4xx-kernel: Remove superfluous anonymous python check on SLUGOS_IMAGESEX.
authorRod Whitby <rod@whitby.id.au>
Tue, 23 Jan 2007 04:53:40 +0000 (04:53 +0000)
committerRod Whitby <rod@whitby.id.au>
Tue, 23 Jan 2007 04:53:40 +0000 (04:53 +0000)
packages/linux/ixp4xx-kernel.inc

index 0d869bb..28b8d3b 100644 (file)
@@ -382,14 +382,3 @@ do_deploy() {
 }
 
 addtask deploy before do_build after do_compile
-
-python () {
-    # check for MACHINE_ARCH - if not set then we don't know what to build,
-    # also sanity check the SLUGOS_IMAGESEX
-    sex = bb.data.getVar("SLUGOS_IMAGESEX", d, 1)
-    if sex != 'little-endian' and sex != 'big-endian':
-        raise bb.parse.SkipPackage("slugos kernels require SLUGOS_IMAGESEX")
-    suffix = bb.data.getVar("MACHINE_ARCH", d, 1)
-    if suffix == '':
-        raise bb.parse.SkipPackage("slugos kernels require MACHINE_ARCH")
-}