[meta-ti] [PATCH v2 34/37] ti-ndk: Adding recipe for ti-ndk

Mahesh Radhakrishnan m-radhakrishnan2 at ti.com
Tue Jul 18 16:03:45 PDT 2017


Upstreaming recipe for TI RTOS Networking development kit

Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2 at ti.com>
---

v2 - Added summmary  & merged in to a single recipe

 recipes-ti/ndk/ti-ndk.inc           | 21 +++++++++++++++++++++
 recipes-ti/ndk/ti-ndk_2.25.01.11.bb | 17 +++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 recipes-ti/ndk/ti-ndk.inc
 create mode 100644 recipes-ti/ndk/ti-ndk_2.25.01.11.bb

diff --git a/recipes-ti/ndk/ti-ndk.inc b/recipes-ti/ndk/ti-ndk.inc
new file mode 100644
index 0000000..09d9ea0
--- /dev/null
+++ b/recipes-ti/ndk/ti-ndk.inc
@@ -0,0 +1,21 @@
+SUMMARY = "TI RTOS_Networking"
+HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/index.html"
+SECTION = "devel"
+LICENSE = "BSD"
+
+require recipes-ti/includes/ti-paths.inc
+
+S = "${WORKDIR}/ndk_${PV}"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/${PV}/exports/ndk_${PV}.zip;name=ndkzip"
+
+do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+    install -d ${D}${NDK_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${NDK_INSTALL_DIR_RECIPE}
+}
+
+ALLOW_EMPTY_${PN} = "1"
+FILES_${PN}-dev += "${NDK_INSTALL_DIR_RECIPE}"
+
+INSANE_SKIP_${PN}-dev = "arch ldflags staticdev"
diff --git a/recipes-ti/ndk/ti-ndk_2.25.01.11.bb b/recipes-ti/ndk/ti-ndk_2.25.01.11.bb
new file mode 100644
index 0000000..4369567
--- /dev/null
+++ b/recipes-ti/ndk/ti-ndk_2.25.01.11.bb
@@ -0,0 +1,17 @@
+require ti-ndk.inc
+
+PV = "2_25_01_11"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://ndk_${PV}_manifest.html;md5=80a8d9b76cf700929d3f5b6df09052d6"
+
+SRC_URI[ndkzip.md5sum] = "e42bfcc8c3a6d183d60f26ec01ccc79b"
+SRC_URI[ndkzip.sha256sum] = "a15bc9b570dc0628dd8b8c3665037a162610a6f86c5f17ebb6a329d3db60f071"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+
+deltask do_create_srcipk
+addtask create_srcipk after do_install before do_package
+
-- 
1.9.1



More information about the meta-ti mailing list