linux-{ti33x,omapl138}: simplify and unify handling of "tipspkernel" feature
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-omapl138-psp_2.6.37.bb
index 6326e7bb8a18c4de419578b4fe5e5c203caaabdd..5441675b65ba40bed09299b7eed285698bab219c 100644 (file)
@@ -4,6 +4,7 @@ LICENSE = "GPLv2"
 KERNEL_IMAGETYPE = "uImage"
 
 require multi-kernel.inc
+require tipspkernel.inc
 
 S = "${WORKDIR}/git"
 
@@ -14,12 +15,6 @@ SRCREV = "v2.6.37_DAVINCIPSP_03.21.00.04"
 
 COMPATIBLE_MACHINE = "(omapl138)"
 
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-CONFIGS_PSP = "${@base_set_filespath(["${THISDIR}/${PN}-${PV}/tipspkernel"], d)}:\
-${@base_set_filespath(["${THISDIR}/${PN}/tipspkernel"], d)}:\
-${@base_set_filespath(["${THISDIR}/files/tipspkernel"], d)}:"
-FILESPATH =. "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "${CONFIGS_PSP}", "", d)}"
-
 SRC_URI += "git://arago-project.org/git/projects/linux-davinci.git;protocol=git;branch=${BRANCH} \
        file://defconfig"
 
@@ -32,5 +27,3 @@ PATCHES_OVER_PSP = " \
        file://0006-Add-wlan-and-BT-config-switches.patch \
        file://uio_pruss.patch \
        "
-
-SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}"