From: Zhenhua Luo Date: Mon, 16 Dec 2013 05:44:32 +0000 (+0800) Subject: Revert "lttng-modules: build as 64-bit kernel module on e6500" X-Git-Tag: 2.1~534^2~217 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e762c77e8df690b22257b59e445b0af8020c8aeb;p=meta-freescale.git Revert "lttng-modules: build as 64-bit kernel module on e6500" This reverts commit a2789b3edf0f3fa4a14279e5d0d4c01d40962353. --- 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 index 0452d7c3..00000000 --- a/meta-fsl-ppc/recipes-kernel/lttng/lttng-modules_2.3.3.bbappend +++ /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', '')) -} -