Skip to contentSkip to conversation

tidl-utils: add TIDL import tool source compilation.

PATCH New Jianzhong Xu 1 participant 1 message Dec 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 tidl-utils: add TIDL import tool source compilation.

---
Change from previous version of patch:
Added/removed spaces to comply with OpenEmbedded coding style.
---

---
 .../nativesdk-packagegroup-arago-sdk-host.bb       |  1 +
 .../recipes-ti/tidl-utils/tidl-import_git.bb       | 43 ++++++++++++++++++++++
 .../recipes-ti/tidl-utils/tidl-utils.bb            | 17 ++++-----
 .../recipes-ti/tidl-utils/tidl-utils.inc           |  2 +
 4 files changed, 54 insertions(+), 9 deletions(-)
 create mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb
 create mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-sdk-host.bb +1 -0
index 54466b7..af83521 100644
@@ -13,6 +13,7 @@ EXTRA_TI_TOOLS = " \
     nativesdk-clacc \
     nativesdk-open62541-examples \
     nativesdk-open62541-tests \
+    nativesdk-tidl-import \
 "
 
 RDEPENDS_${PN} = "\
meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb new file +43 -0

43 lines not on this page · raw message

meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb +8 -9
index 569de5a..e065e17 100644
@@ -3,15 +3,14 @@ DESCRIPTION = "TIDL Utilities for standalone simulation and importing / translat
 HOMEPAGE = "http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components.html#tidl"
 LICENSE = "TI-TFL"
 
-PV = "1.0.0.0"
+require ./tidl-utils.inc
+
+PV = "1.0.0.1"
 INC_PR = "r0"
 
 LIC_FILES_CHKSUM = "file://docs/LICENSE.txt;md5=a93aa5af7a3bbbb6fb34c8df59efaa5c"
 
-RDEPENDS_${PN}_class-target += " tidl-api tidl-examples "
-
-SRC_URI = "git://git.ti.com/tidl/tidl-utils.git;protocol=git;branch=master"
-SRCREV = "994d90ae583610673d9d39086ca5e84027a9c56e"
+RDEPENDS_${PN}_class-target += "tidl-api tidl-examples"
 
 PR = "${INC_PR}.0"
 
@@ -21,7 +20,7 @@ TARGET_class-target = "arm"
 TARGET_class-native = "x86"
 TARGET_class-nativesdk = "x86"
 
-CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+CP_ARGS = "-Prf --preserve=mode,timestamps --no-preserve=ownership"
 
 do_install() {
   install -d ${D}${bindir}
@@ -32,9 +31,9 @@ do_install() {
   cp ${CP_ARGS} ${S}/docs/* ${D}${datadir}/ti/tidl/utils/docs/.
 }
 
-FILES_${PN} += " ${datadir}/ti/tidl/utils \
-                 ${bindir} "
+FILES_${PN} += "${datadir}/ti/tidl/utils \
+                ${bindir}"
 
 BBCLASSEXTEND = "native nativesdk"
 
-INSANE_SKIP_${PN} += "build-deps ldflags already-stripped "
+INSANE_SKIP_${PN} += "build-deps ldflags already-stripped"
meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc new file +2 -0
new file mode 100644
index 0000000..37ce84d
@@ -0,0 +1,2 @@
+SRC_URI = "git://git.ti.com/tidl/tidl-utils.git;protocol=git;branch=master"
+SRCREV = "0021b6f15ee4a1a8919905429a5045fd02afe5b1"
Signature · 1 line
1.9.1