[meta-oe] ltp-ddt: Fix build break with newer kernels

Submitted by Khem Raj on Feb. 11, 2014, 6:36 p.m.

Details

Message ID 1392143812-27800-1-git-send-email-raj.khem@gmail.com
State Accepted, archived
Headers show

Commit Message

Khem Raj Feb. 11, 2014, 6:36 p.m.
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@gmail.com>
---
 meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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} \