diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-11-14 14:32:57 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-11-14 15:16:56 -0200 |
commit | 9a00088f2da2f35c4acea143457ea4ccac90118b (patch) | |
tree | f1dee1285668c14c6f6514c574be45588374a66a /recipes-kernel | |
parent | b4765b1ec7f6cf40846908d94846a51f664d7a55 (diff) | |
download | meta-fsl-arm-9a00088f2da2f35c4acea143457ea4ccac90118b.tar.gz |
linux-imx.inc: Remove imx-test specific hack
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>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-fslc.inc | 3 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-imx.inc | 18 |
2 files changed, 1 insertions, 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 | |||
12 | require recipes-kernel/linux/linux-imx.inc | 12 | require recipes-kernel/linux/linux-imx.inc |
13 | require recipes-kernel/linux/linux-dtb.inc | 13 | require recipes-kernel/linux/linux-dtb.inc |
14 | 14 | ||
15 | # Avoid imx-test installation hacks | ||
16 | IMX_TEST_SUPPORT = "n" | ||
17 | |||
18 | SRC_URI = "git://github.com/Freescale/linux-mainline.git \ | 15 | SRC_URI = "git://github.com/Freescale/linux-mainline.git \ |
19 | file://defconfig" | 16 | file://defconfig" |
20 | LOCALVERSION = "-fslc" | 17 | 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 @@ | |||
1 | # Copyright (C) 2012 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012, 2013 O.S. Systems Software LTDA. |
2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
3 | 3 | ||
4 | DESCRIPTION = "Linux kernel for imx platforms" | 4 | DESCRIPTION = "Linux kernel for imx platforms" |
@@ -13,9 +13,6 @@ inherit kernel | |||
13 | LOCALVERSION ?= "+yocto" | 13 | LOCALVERSION ?= "+yocto" |
14 | SCMVERSION ?= "y" | 14 | SCMVERSION ?= "y" |
15 | 15 | ||
16 | # Add imx-test support hacks | ||
17 | IMX_TEST_SUPPORT ?= "y" | ||
18 | |||
19 | SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \ | 16 | SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \ |
20 | file://defconfig \ | 17 | file://defconfig \ |
21 | " | 18 | " |
@@ -51,16 +48,3 @@ do_configure_prepend() { | |||
51 | printf "%s%s" +g $head > ${S}/.scmversion | 48 | printf "%s%s" +g $head > ${S}/.scmversion |
52 | fi | 49 | fi |
53 | } | 50 | } |
54 | |||
55 | # install nedded headers for imx-test compilation | ||
56 | do_install_append() { | ||
57 | if [ "${IMX_TEST_SUPPORT}" = "y" ]; then | ||
58 | # bounds.h may be used by a module and is currently missing | ||
59 | if [ -d include/generated ]; then | ||
60 | cp -r include/generated/* $kerneldir/include/generated/ | ||
61 | fi | ||
62 | |||
63 | # Host architecture object file | ||
64 | rm -f $kerneldir/scripts/kconfig/kxgettext.o | ||
65 | fi | ||
66 | } | ||