diff mbox series

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

Message ID 20230421193806.903-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master/kirkstone] ltp-ddt_20210524: 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_20210524.bb             | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Ryan Eatmon April 22, 2023, 4:46 p.m. UTC | #1
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.


On 4/21/2023 14:38, Ryan Eatmon via lists.yoctoproject.org wrote:
> 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 --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} \
>   "
diff mbox series

Patch

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