[oe-commits] Khem Raj : ltp-ddt: Fix build break with newer kernels

git at git.openembedded.org git at git.openembedded.org
Fri Feb 21 16:00:32 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 1f89f0a54e85e540e50bb00305b4163e13b1b4dc
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=1f89f0a54e85e540e50bb00305b4163e13b1b4dc

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Feb 11 10:36:52 2014 -0800

ltp-ddt: Fix build break with newer kernels

We need to point KERNEL_INC at include-generic otherwise
we end up with errors like

|                  from src/parser/st_i2c_parser.c:42:
|
/home/kraj/work/angstrom-2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/beaglebone/usr/src/kernel/include/linux/wait.h:8:25:
fatal error: asm/current.h: No such file or directory
|  #include <asm/current.h>
|                          ^
| compilation terminated.
| make[2]: *** [i2c_tests] Error 1

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
index c6ddf3d..da81964 100644
--- a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
+++ b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
@@ -12,7 +12,7 @@ inherit autotools
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-SRCREV = "5fba3d42f126ce13333fb7d0412d729b753ee5a4"
+SRCREV = "46e8aa7d0dd095300709309301e1c79f0003df40"
 BRANCH ?= "master"
 
 SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
@@ -25,7 +25,7 @@ EXTRA_OEMAKE_append = " \
     prefix=${LTPROOT} \
     CROSS_COMPILE=${HOST_PREFIX} \
     SKIP_IDCHECK=1 \
-    KERNEL_INC=${STAGING_KERNEL_DIR}/include \
+    KERNEL_INC=${STAGING_KERNEL_DIR}/include-generic \
     KERNEL_USR_INC=${STAGING_INCDIR} \
     ALSA_INCPATH=${STAGING_INCDIR} \
     ALSA_LIBPATH=${STAGING_LIBDIR} \



More information about the Openembedded-commits mailing list