diff mbox series

[meta-arago,master/kirkstone] ltp-ddt_20230127: Add rpmsg_rpc.h to SRC_URI

Message ID 20230421193806.903-2-reatmon@ti.com
State Rejected
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master/kirkstone] ltp-ddt_20230127: Add rpmsg_rpc.h to SRC_URI | expand

Commit Message

Ryan Eatmon April 21, 2023, 7:38 p.m. UTC
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 <reatmon@ti.com>
---
 .../recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb             | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb
index b7c695f3..52e2f611 100644
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb
+++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb
@@ -20,11 +20,14 @@  BRANCH ?= "master"
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
 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} \
 "