[meta-freescale] [meta-fsl-arm][PATCH 1/3] linux-imx.inc: Remove imx-test specific hack

Otavio Salvador otavio at ossystems.com.br
Thu Nov 14 09:24:20 PST 2013


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 at ossystems.com.br>
---
 recipes-kernel/linux/linux-fslc.inc |  3 ---
 recipes-kernel/linux/linux-imx.inc  | 18 +-----------------
 2 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/recipes-kernel/linux/linux-fslc.inc b/recipes-kernel/linux/linux-fslc.inc
index 20e1237..378c66b 100644
--- a/recipes-kernel/linux/linux-fslc.inc
+++ b/recipes-kernel/linux/linux-fslc.inc
@@ -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"
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc
index 2ac73e7..73af4aa 100644
--- a/recipes-kernel/linux/linux-imx.inc
+++ b/recipes-kernel/linux/linux-imx.inc
@@ -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
-}
-- 
1.8.4.rc3




More information about the meta-freescale mailing list