]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-imx.inc: Remove imx-test specific hack
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 14 Nov 2013 16:32:57 +0000 (14:32 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 14 Nov 2013 17:16:56 +0000 (15:16 -0200)
The new kernels now have all generated contents installed in sysroot
so the imx-text specific hacks are not need anymore.

Change-Id: I050fc33ca20447d7453f5553be7c9135354ddb45
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-kernel/linux/linux-fslc.inc
meta-fsl-arm/recipes-kernel/linux/linux-imx.inc

index 20e1237015a8f8338f99b0523af88806d48c720f..378c66b94809beeeed53c1733341c14b0af7a362 100644 (file)
@@ -12,9 +12,6 @@ inherit kernel
 require recipes-kernel/linux/linux-imx.inc
 require recipes-kernel/linux/linux-dtb.inc
 
-# Avoid imx-test installation hacks
-IMX_TEST_SUPPORT = "n"
-
 SRC_URI = "git://github.com/Freescale/linux-mainline.git \
            file://defconfig"
 LOCALVERSION = "-fslc"
index 2ac73e77f2cbf013999b60cfab5347207acf4561..73af4aa3e657e106423e49df25c5c29d9eb3b6d9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012 O.S. Systems Software LTDA.
+# Copyright (C) 2012, 2013 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 DESCRIPTION = "Linux kernel for imx platforms"
@@ -13,9 +13,6 @@ inherit kernel
 LOCALVERSION ?= "+yocto"
 SCMVERSION ?= "y"
 
-# Add imx-test support hacks
-IMX_TEST_SUPPORT ?= "y"
-
 SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \
            file://defconfig \
 "
@@ -51,16 +48,3 @@ do_configure_prepend() {
                printf "%s%s" +g $head > ${S}/.scmversion
        fi
 }
-
-# install nedded headers for imx-test compilation
-do_install_append() {
-       if [ "${IMX_TEST_SUPPORT}" = "y" ]; then
-               # bounds.h may be used by a module and is currently missing
-               if [ -d include/generated ]; then
-                       cp -r include/generated/* $kerneldir/include/generated/
-               fi
-
-               # Host architecture object file
-               rm -f $kerneldir/scripts/kconfig/kxgettext.o
-       fi
-}