Commit c8453dc4 authored by Otavio Salvador's avatar Otavio Salvador

Revert "linux-imx.inc: Remove imx-test specific hack"

This reverts commit a698f335 as it
depends on a change not included in Dora branch of OE-Core/Poky.

Change-Id: I3a2d56e50566dc90472c78f08899856ae19eb19b
Signed-off-by: 's avatarOtavio Salvador <otavio@ossystems.com.br>
parent 742632a8
......@@ -12,6 +12,9 @@ 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"
# Copyright (C) 2012, 2013 O.S. Systems Software LTDA.
# Copyright (C) 2012 O.S. Systems Software LTDA.
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Linux kernel for imx platforms"
......@@ -13,6 +13,9 @@ 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 \
"
......@@ -48,3 +51,16 @@ 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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment