Rather than rely on the TI kernel custom headers that are needed for
compilation, directly pull in the needed header from the ti-linux-kernel
repo on git.ti.com.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 .../recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb             | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb 
b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb
index f3c237df..03f6d4f3 100644
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb
+++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb
@@ -20,11 +20,14 @@ BRANCH ?= "master"
 SRC_URI:remove = 
"git://github.com/linux-test-project/ltp.git;protocol=https;branch=master"
 SRC_URI:prepend = 
"git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH}
 "
 
+SRC_URI:append = 
"https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/plain/include/uapi/linux/rpmsg_rpc.h?h=ti-linux-5.10.y;name=rpmsg_rpc;subdir=linux;downloadfilename=rpmsg_rpc.h";
+SRC_URI[rpmsg_rpc.sha256sum] = 
"cd237f40a37520a1f2df19fbfeefd00c0a5ad68efeaba9ba0fba60ca16ea09be"
+
 export prefix = "/opt/ltp"
 export exec_prefix = "/opt/ltp"
 
 EXTRA_OEMAKE:append = " \
-    KERNEL_USR_INC=${STAGING_INCDIR} \
+    KERNEL_USR_INC=${WORKDIR} \
     ALSA_INCPATH=${STAGING_INCDIR} \
     ALSA_LIBPATH=${STAGING_LIBDIR} \
 "
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14325): 
https://lists.yoctoproject.org/g/meta-arago/message/14325
Mute This Topic: https://lists.yoctoproject.org/mt/98418291/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-arago/leave/10763299/21656/89520264/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to