summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-11-18 13:43:23 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2013-11-18 13:43:35 -0200
commitc8453dc440ff1d355df362e01816bc18f9de3d50 (patch)
treeeecae0e3ade1de1fc568bf458dab89d8f3863513
parent742632a83e9da981788111b4e17dcefba5d32a05 (diff)
downloadmeta-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.inc3
-rw-r--r--recipes-kernel/linux/linux-imx.inc18
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
12require recipes-kernel/linux/linux-imx.inc 12require recipes-kernel/linux/linux-imx.inc
13require recipes-kernel/linux/linux-dtb.inc 13require recipes-kernel/linux/linux-dtb.inc
14 14
15# Avoid imx-test installation hacks
16IMX_TEST_SUPPORT = "n"
17
15SRC_URI = "git://github.com/Freescale/linux-mainline.git \ 18SRC_URI = "git://github.com/Freescale/linux-mainline.git \
16 file://defconfig" 19 file://defconfig"
17LOCALVERSION = "-fslc" 20LOCALVERSION = "-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
4DESCRIPTION = "Linux kernel for imx platforms" 4DESCRIPTION = "Linux kernel for imx platforms"
@@ -13,6 +13,9 @@ inherit kernel
13LOCALVERSION ?= "+yocto" 13LOCALVERSION ?= "+yocto"
14SCMVERSION ?= "y" 14SCMVERSION ?= "y"
15 15
16# Add imx-test support hacks
17IMX_TEST_SUPPORT ?= "y"
18
16SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \ 19SRC_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
56do_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}