Skip to contentSkip to conversation

k3conf: Update SRCREV and move to cmake

PATCH In review Ryan Eatmon 2 participants 2 messages Aug 30, 2023 – Aug 31, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 k3conf: Update SRCREV and move to cmake

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.

---
 meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb +3 -9
index 2686810d..987055b0 100644
@@ -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}
-}
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 47 lines · Ryan Eatmon via lists.yoctoproject.org

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.

---
  meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb | 12 +++---------
  1 file changed, 3 insertions(+), 9 deletions(-)
meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb +3 -10
index 2686810d..987055b0 100644
@@ -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:[email protected] Unsubscribe:https://lists.yoctoproject.org/g/meta-ti/leave/11470056/7030289/1265141306/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-