Skip to contentSkip to conversation

ltp-ddt_20210524: Add rpmsg_rpc.h to SRC_URI

PATCH In review Ryan Eatmon 1 participant 3 messages Apr 21, 2023 – Apr 22, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ltp-ddt_20210524: Add rpmsg_rpc.h to SRC_URI

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.

---
 .../recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb             | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb +4 -1
index f3c237df..03f6d4f3 100644
@@ -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} \
 "
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ltp-ddt_20230127: Add rpmsg_rpc.h to SRC_URI

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.

---
 .../recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb             | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +4 -1
index b7c695f3..52e2f611 100644
@@ -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} \
 "
Signature · 1 line
2.17.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

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

I just remembered that I was going to rework the ltp-ddt_20230127 patchset and split the ltp change out into it's own patch. When I rework that I will include this patch change in the new ltp_ddt recipe without the need for a patch.

Quoted 29 lines · Ryan Eatmon via lists.yoctoproject.org

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.

---
  .../recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb             | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +4 -1
index b7c695f3..52e2f611 100644
@@ -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} \
  "
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS