diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-11-18 13:43:23 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-11-18 13:43:35 -0200 |
commit | c8453dc440ff1d355df362e01816bc18f9de3d50 (patch) | |
tree | eecae0e3ade1de1fc568bf458dab89d8f3863513 | |
parent | 742632a83e9da981788111b4e17dcefba5d32a05 (diff) | |
download | meta-fsl-arm-c8453dc440ff1d355df362e01816bc18f9de3d50.tar.gz |
Revert "linux-imx.inc: Remove imx-test specific hack"
This reverts commit a698f335073dc0a68e3f8554aef08165c5dc69bc as it
depends on a change not included in Dora branch of OE-Core/Poky.
Change-Id: I3a2d56e50566dc90472c78f08899856ae19eb19b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | recipes-kernel/linux/linux-fslc.inc | 3 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-imx.inc | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-fslc.inc b/recipes-kernel/linux/linux-fslc.inc index 378c66b..20e1237 100644 --- a/recipes-kernel/linux/linux-fslc.inc +++ b/recipes-kernel/linux/linux-fslc.inc | |||
@@ -12,6 +12,9 @@ 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 | |||
15 | SRC_URI = "git://github.com/Freescale/linux-mainline.git \ | 18 | SRC_URI = "git://github.com/Freescale/linux-mainline.git \ |
16 | file://defconfig" | 19 | file://defconfig" |
17 | LOCALVERSION = "-fslc" | 20 | LOCALVERSION = "-fslc" |
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc index 73af4aa..2ac73e7 100644 --- a/recipes-kernel/linux/linux-imx.inc +++ b/recipes-kernel/linux/linux-imx.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | # Copyright (C) 2012, 2013 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012 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,6 +13,9 @@ 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 | |||
16 | SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \ | 19 | SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \ |
17 | file://defconfig \ | 20 | file://defconfig \ |
18 | " | 21 | " |
@@ -48,3 +51,16 @@ do_configure_prepend() { | |||
48 | printf "%s%s" +g $head > ${S}/.scmversion | 51 | printf "%s%s" +g $head > ${S}/.scmversion |
49 | fi | 52 | fi |
50 | } | 53 | } |
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 | } | ||