Skip to contentSkip to conversation

starterware: add starterware for linux which installs header files only

PATCH Superseded Hongmei Gou 3 participants 3 messages Aug 30, 2017 – Sep 1, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 starterware: add starterware for linux which installs header files only

* starterware.inc is created to host the common information

---
 recipes-bsp/starterware/starterware-rtos_git.bb | 22 ++--------------------
 recipes-bsp/starterware/starterware.inc         | 21 +++++++++++++++++++++
 recipes-bsp/starterware/starterware_git.bb      | 16 ++++++++++++++++
 3 files changed, 39 insertions(+), 20 deletions(-)
 create mode 100644 recipes-bsp/starterware/starterware.inc
 create mode 100644 recipes-bsp/starterware/starterware_git.bb
recipes-bsp/starterware/starterware-rtos_git.bb +2 -20
index 5584cb2..88176bb 100644
@@ -1,28 +1,10 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+require starterware.inc
 
-COMPATIBLE_MACHINE = "ti33x|ti43x"
 DEPENDS = "gcc-arm-none-eabi-native"
 
 require recipes-ti/includes/ti-paths.inc
 
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
-STARTERWARE_GIT_PROTOCOL = "git"
-STARTERWARE_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
-STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
-
-BRANCH = "${STARTERWARE_GIT_BRANCH}"
-SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${STARTERWARE_SRCREV}"
-PV = "02.01.01.03A"
-PR = "r0"
-
-S = "${WORKDIR}/git"
+PR = "${INC_PR}.0"
 
 PARTNO_ti33x = "am335x"
 PARTNO_ti43x = "am437x"
recipes-bsp/starterware/starterware.inc new file +21 -0
new file mode 100644
index 0000000..c5d7655
@@ -0,0 +1,21 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
+STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.03A"
+INC_PR = "r0"
+
+S = "${WORKDIR}/git"
recipes-bsp/starterware/starterware_git.bb new file +16 -0
new file mode 100644
index 0000000..d0c4396
@@ -0,0 +1,16 @@
+require starterware.inc
+
+PR = "${INC_PR}.0"
+
+ALLOW_EMPTY_${PN} = "1"
+
+CLEANBROKEN = "1"
+
+do_compile() {
+    :
+}
+
+do_install () {
+    install -d ${D}${includedir}/ti/starterware
+    find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/starterware
+}
Signature · 1 line
1.9.1
#1 lore raw
Quoted 84 lines · Hongmei Gou

* starterware.inc is created to host the common information

---
 recipes-bsp/starterware/starterware-rtos_git.bb | 22 ++--------------------
 recipes-bsp/starterware/starterware.inc         | 21 +++++++++++++++++++++
 recipes-bsp/starterware/starterware_git.bb      | 16 ++++++++++++++++
 3 files changed, 39 insertions(+), 20 deletions(-)
 create mode 100644 recipes-bsp/starterware/starterware.inc
 create mode 100644 recipes-bsp/starterware/starterware_git.bb
recipes-bsp/starterware/starterware-rtos_git.bb +2 -20
index 5584cb2..88176bb 100644
@@ -1,28 +1,10 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+require starterware.inc
 
-COMPATIBLE_MACHINE = "ti33x|ti43x"
 DEPENDS = "gcc-arm-none-eabi-native"
 
 require recipes-ti/includes/ti-paths.inc
 
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
-STARTERWARE_GIT_PROTOCOL = "git"
-STARTERWARE_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
-STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
-
-BRANCH = "${STARTERWARE_GIT_BRANCH}"
-SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${STARTERWARE_SRCREV}"
-PV = "02.01.01.03A"
-PR = "r0"
-
-S = "${WORKDIR}/git"
+PR = "${INC_PR}.0"
 
 PARTNO_ti33x = "am335x"
 PARTNO_ti43x = "am437x"
recipes-bsp/starterware/starterware.inc new file +21 -0
new file mode 100644
index 0000000..c5d7655
@@ -0,0 +1,21 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
+STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.03A"
+INC_PR = "r0"
+
+S = "${WORKDIR}/git"
recipes-bsp/starterware/starterware_git.bb new file +5 -0
new file mode 100644
index 0000000..d0c4396
@@ -0,0 +1,16 @@
+require starterware.inc
+
+PR = "${INC_PR}.0"
+
+ALLOW_EMPTY_${PN} = "1"

recipes-bsp/starterware/starterware_git.bb line 15

Quoted 10 lines
recipes-bsp/starterware/starterware_git.bb new file +10 -0
+
+CLEANBROKEN = "1"
+
+do_compile() {
+    :
+}
+
+do_install () {
+    install -d ${D}${includedir}/ti/starterware
+    find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/starterware

Please pass --no-preserve=ownership to avoid host contamination warnings.

Quoted 9 lines
recipes-bsp/starterware/starterware_git.bb new file +1 -0
+}
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw

Thanks Denys. The v2 patch has been submitted.

Quoted 132 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, August 31, 2017 7:28 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] starterware: add starterware for linux which installs header files only

Quoted 6 lines · Hongmei Gou

* starterware.inc is created to host the common information

---
 recipes-bsp/starterware/starterware-rtos_git.bb | 22 ++--------------------
 recipes-bsp/starterware/starterware.inc         | 21

+++++++++++++++++++++

recipes-bsp/starterware/starterware-rtos_git.bb line 2

Quoted 13 lines
 recipes-bsp/starterware/starterware_git.bb      | 16 ++++++++++++++++
 3 files changed, 39 insertions(+), 20 deletions(-)  create mode
100644 recipes-bsp/starterware/starterware.inc
 create mode 100644 recipes-bsp/starterware/starterware_git.bb
recipes-bsp/starterware/starterware-rtos_git.bb +0 -2
index 5584cb2..88176bb 100644
@@ -1,28 +1,10 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM =

"file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff 969b3"

Quoted 4 lines
recipes-bsp/starterware/starterware-rtos_git.bb +1 -1
+require starterware.inc
 
-COMPATIBLE_MACHINE = "ti33x|ti43x"
 DEPENDS = "gcc-arm-none-eabi-native"

recipes-bsp/starterware/starterware-rtos_git.bb

Quoted 10 lines
recipes-bsp/starterware/starterware-rtos_git.bb +0 -7
 
 require recipes-ti/includes/ti-paths.inc
 
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
-STARTERWARE_GIT_PROTOCOL = "git"
-STARTERWARE_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to

"DEV.STARTERWARE.PROCSDK.02.01.01.03A"

recipes-bsp/starterware/starterware-rtos_git.bb

Quoted 4 lines
recipes-bsp/starterware/starterware-rtos_git.bb +0 -4
-STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
-
-BRANCH = "${STARTERWARE_GIT_BRANCH}"
-SRC_URI =

"${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};bra nch=${BRANCH}"

Quoted 17 lines
recipes-bsp/starterware/starterware-rtos_git.bb +1 -6
-
-SRCREV = "${STARTERWARE_SRCREV}"
-PV = "02.01.01.03A"
-PR = "r0"
-
-S = "${WORKDIR}/git"
+PR = "${INC_PR}.0"
 
 PARTNO_ti33x = "am335x"
 PARTNO_ti43x = "am437x"
recipes-bsp/starterware/starterware.inc new file +0 -0
new file mode 100644
index 0000000..c5d7655

recipes-bsp/starterware/starterware.inc line 2

Quoted 2 lines
recipes-bsp/starterware/starterware.inc new file +2 -0
@@ -0,0 +1,21 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM =

"file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff 969b3"

recipes-bsp/starterware/starterware.inc

Quoted 5 lines
recipes-bsp/starterware/starterware.inc new file +5 -0
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-

rtos/starterware.git"

recipes-bsp/starterware/starterware.inc

Quoted 4 lines
recipes-bsp/starterware/starterware.inc new file +4 -0
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to

"DEV.STARTERWARE.PROCSDK.02.01.01.03A"

recipes-bsp/starterware/starterware.inc

Quoted 4 lines
recipes-bsp/starterware/starterware.inc new file +4 -0
+STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI =

"${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};bra nch=${BRANCH}"

Quoted 19 lines
recipes-bsp/starterware/starterware.inc new file +6 -0
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.03A"
+INC_PR = "r0"
+
+S = "${WORKDIR}/git"
recipes-bsp/starterware/starterware_git.bb new file +6 -0
new file mode 100644
index 0000000..d0c4396
@@ -0,0 +1,16 @@
+require starterware.inc
+
+PR = "${INC_PR}.0"
+
+ALLOW_EMPTY_${PN} = "1"
+

recipes-bsp/starterware/starterware_git.bb line 16

Quoted 10 lines
recipes-bsp/starterware/starterware_git.bb new file +10 -0
+CLEANBROKEN = "1"
+
+do_compile() {
+    :
+}
+
+do_install () {
+    install -d ${D}${includedir}/ti/starterware
+    find . -name "*.h" -type f | xargs -I {} cp --parents {}
+${D}${includedir}/ti/starterware

Please pass --no-preserve=ownership to avoid host contamination warnings.

Quoted 9 lines

+}
--
1.9.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti