]> code.ossystems Code Review - meta-freescale.git/commitdiff
Revert "lttng-modules: build as 64-bit kernel module on e6500"
authorZhenhua Luo <zhenhua.luo@freescale.com>
Mon, 16 Dec 2013 05:44:32 +0000 (13:44 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Mon, 16 Dec 2013 05:44:32 +0000 (13:44 +0800)
This reverts commit a2789b3edf0f3fa4a14279e5d0d4c01d40962353.

meta-fsl-ppc/recipes-kernel/lttng/lttng-modules_2.3.3.bbappend [deleted file]

diff --git a/meta-fsl-ppc/recipes-kernel/lttng/lttng-modules_2.3.3.bbappend b/meta-fsl-ppc/recipes-kernel/lttng/lttng-modules_2.3.3.bbappend
deleted file mode 100644 (file)
index 0452d7c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-PRINC := "${@int(PRINC) + 1}"
-
-python () {
-    ma = d.getVar("DISTRO_FEATURES", True)
-    arch = d.getVar("OVERRIDES", True)
-
-    # the : after the arch is to skip the message on 64b
-    if not "multiarch" in ma and "e6500:" in arch:
-        raise bb.parse.SkipPackage("Building the kernel for this arch requires multiarch to be in DISTRO_FEATURES")
-
-    promote_kernel = d.getVar('BUILD_64BIT_KERNEL')
-
-    if promote_kernel == "1":
-        d.setVar('KERNEL_CC_append', ' -m64')
-        d.setVar('KERNEL_LD_append', ' -melf64ppc')
-
-    error_qa = d.getVar('ERROR_QA', True)
-    if 'arch' in error_qa:
-        d.setVar('ERROR_QA', error_qa.replace(' arch', ''))
-}
-