diff mbox series

[meta-ti,master/kirkstone] k3conf: Update SRCREV and move to cmake

Message ID 20230830182054.21693-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti,master/kirkstone] k3conf: Update SRCREV and move to cmake | expand

Commit Message

Ryan Eatmon Aug. 30, 2023, 6:20 p.m. UTC
The SRCREV change corresponds to a commit that changes from make to
cmake for building k3conf, so we need to update the recipe as well.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

Comments

Chirag Shilwant Aug. 31, 2023, 6:41 a.m. UTC | #1
Acked-by: Chirag Shilwant <c-shilwant@ti.com> <mailto:c-shilwant@ti.com>

On 30/08/23 23:50, Ryan Eatmon via lists.yoctoproject.org wrote:
> The SRCREV change corresponds to a commit that changes from make to
> cmake for building k3conf, so we need to update the recipe as well.
>
> Signed-off-by: Ryan Eatmon<reatmon@ti.com>
> ---
>   meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb | 12 +++---------
>   1 file changed, 3 insertions(+), 9 deletions(-)
>
> diff --git a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
> index 2686810d..987055b0 100644
> --- a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
> +++ b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
> @@ -3,22 +3,16 @@ SUMMARY = "Diagnostic tool for TI K3 processors"
>   LICENSE = "BSD-3-Clause"
>   LIC_FILES_CHKSUM ="file://common/k3conf.c;beginline=1;endline=34;md5=7154c0ffcd418064ffa528e34e70ca9d"
>   
> +inherit cmake
> +
>   PV = "0.2+git${SRCPV}"
>   
>   COMPATIBLE_MACHINE = "k3"
>   
>   BRANCH ?= "master"
> -SRCREV = "81581afb405085755aea7744c1d196533e8094c4"
> +SRCREV = "859e1cc105a01a8a4a58318679f92e2135a03a99"
>   
>   SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
>   
>   S = "${WORKDIR}/git"
>   
> -do_compile () {
> -    oe_runmake CC="${CC}" CROSS_COMPILE=${TARGET_PREFIX} all
> -}
> -
> -do_install () {
> -    install -d ${D}${bindir}
> -    install ${S}/k3conf ${D}${bindir}
> -}
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#16909):https://lists.yoctoproject.org/g/meta-ti/message/16909
> Mute This Topic:https://lists.yoctoproject.org/mt/101058912/7030289
> Group Owner:meta-ti+owner@lists.yoctoproject.org
> Unsubscribe:https://lists.yoctoproject.org/g/meta-ti/leave/11470056/7030289/1265141306/xyzzy  [c-shilwant@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
index 2686810d..987055b0 100644
--- a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
+++ b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
@@ -3,22 +3,16 @@  SUMMARY = "Diagnostic tool for TI K3 processors"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=7154c0ffcd418064ffa528e34e70ca9d"
 
+inherit cmake
+
 PV = "0.2+git${SRCPV}"
 
 COMPATIBLE_MACHINE = "k3"
 
 BRANCH ?= "master"
-SRCREV = "81581afb405085755aea7744c1d196533e8094c4"
+SRCREV = "859e1cc105a01a8a4a58318679f92e2135a03a99"
 
 SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
 
 S = "${WORKDIR}/git"
 
-do_compile () {
-    oe_runmake CC="${CC}" CROSS_COMPILE=${TARGET_PREFIX} all
-}
-
-do_install () {
-    install -d ${D}${bindir}
-    install ${S}/k3conf ${D}${bindir}
-}