Skip to contentSkip to conversation

nativesdk-dspcoreparse: added recipe for nativesdk-dspcoreparse

PATCH In review Ivan Pang 2 participants 4 messages Aug 30, 2017 – Sep 26, 2017 Broadcom iproc Arm architecture

lore
Share & tools
lore

Ivan Pang

author
#0 lore raw

PATCH 1/1 nativesdk-dspcoreparse: added recipe for nativesdk-dspcoreparse

---
 .../multiprocmgr/nativesdk-dspcoreparse_git.bb     | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +46 -0
new file mode 100644
index 0000000..63cf937
@@ -0,0 +1,46 @@
+SUMMARY = "DSP coredump parse utility"
+DESCRIPTION = "The DSP coredump parse (dspcoreparse) utility is a part\
+of the Multi-Proc Manager (MPM). This utility is used to provide\
+information upon a DSP core crash or unexpected runtime termination."
+
+require recipes-ti/includes/ti-paths.inc
+include recipes-ti/multiprocmgr/multiprocmgr.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://dspcoreparse.c;beginline=1;endline=31;md5=7c271e4a6bd961947bce20c7fe5f86fe"
+BRANCH = "master"
+
+SRC_URI = "git://git.ti.com/sdk-tools/dspcoreparse.git;protocol=git;branch=${BRANCH}"
+
+# Below commit ID corresponds to "DSPCOREPARSE.01.00.00.00A"
+SRCREV = "b692b85a33052a5c736cd538eedf178d45bd4e4e"
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+  # Not building anything and using checked in binary file for now
+  echo "Nothing to compile"
+}
+
+do_install () {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+    install -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse
+    cp ${CP_ARGS} ${S}/* -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/
+}
+
+PACKAGES =+ "${PN}-src"
+
+FILES_${PN}-dev = "${MPM_INSTALL_DIR_RECIPE}/utils"
+FILES_${PN}-src = "${S}/*"
+FILES_${PN}-dbg = "${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/.debug"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN}-dev = "arch file-rdeps"
+INSANE_SKIP_${PN}-src = "arch file-rdeps"
+INSANE_SKIP_${PN} = "arch file-rdeps"
+INSANE_SKIP_${PN}-dbg = "arch file-rdeps"
+
+ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 33 lines · Ivan Pang
---
 .../multiprocmgr/nativesdk-dspcoreparse_git.bb     | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +21 -0
new file mode 100644
index 0000000..63cf937
@@ -0,0 +1,46 @@
+SUMMARY = "DSP coredump parse utility"
+DESCRIPTION = "The DSP coredump parse (dspcoreparse) utility is a part\
+of the Multi-Proc Manager (MPM). This utility is used to provide\
+information upon a DSP core crash or unexpected runtime termination."
+
+require recipes-ti/includes/ti-paths.inc
+include recipes-ti/multiprocmgr/multiprocmgr.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://dspcoreparse.c;beginline=1;endline=31;md5=7c271e4a6bd961947bce20c7fe5f86fe"
+BRANCH = "master"
+
+SRC_URI = "git://git.ti.com/sdk-tools/dspcoreparse.git;protocol=git;branch=${BRANCH}"
+
+# Below commit ID corresponds to "DSPCOREPARSE.01.00.00.00A"
+SRCREV = "b692b85a33052a5c736cd538eedf178d45bd4e4e"
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+  # Not building anything and using checked in binary file for now

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 31

Quoted 10 lines
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +10 -0
+  echo "Nothing to compile"
+}
+
+do_install () {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+    install -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse
+    cp ${CP_ARGS} ${S}/* -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/
+}
+
+PACKAGES =+ "${PN}-src"

^^^ Nope

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 33

Quoted 1 line
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +1 -0
+FILES_${PN}-dev = "${MPM_INSTALL_DIR_RECIPE}/utils"

Isn't it a binary? Why do you put it into ${PN}-dev?

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 34

Quoted 1 line
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +1 -0
+FILES_${PN}-src = "${S}/*"

^^^ Can't do that.

Quoted 20 lines
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +12 -0
+FILES_${PN}-dbg = "${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/.debug"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN}-dev = "arch file-rdeps"
+INSANE_SKIP_${PN}-src = "arch file-rdeps"
+INSANE_SKIP_${PN} = "arch file-rdeps"
+INSANE_SKIP_${PN}-dbg = "arch file-rdeps"
+
+ALLOW_EMPTY_${PN} = "1"
Signature · 7 lines
1.9.1

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

Ping. Any updates on this one?

Quoted 83 lines · Denys Dmytriyenko
Quoted 33 lines · Ivan Pang
---
 .../multiprocmgr/nativesdk-dspcoreparse_git.bb     | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +21 -0
new file mode 100644
index 0000000..63cf937
@@ -0,0 +1,46 @@
+SUMMARY = "DSP coredump parse utility"
+DESCRIPTION = "The DSP coredump parse (dspcoreparse) utility is a part\
+of the Multi-Proc Manager (MPM). This utility is used to provide\
+information upon a DSP core crash or unexpected runtime termination."
+
+require recipes-ti/includes/ti-paths.inc
+include recipes-ti/multiprocmgr/multiprocmgr.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://dspcoreparse.c;beginline=1;endline=31;md5=7c271e4a6bd961947bce20c7fe5f86fe"
+BRANCH = "master"
+
+SRC_URI = "git://git.ti.com/sdk-tools/dspcoreparse.git;protocol=git;branch=${BRANCH}"
+
+# Below commit ID corresponds to "DSPCOREPARSE.01.00.00.00A"
+SRCREV = "b692b85a33052a5c736cd538eedf178d45bd4e4e"
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+  # Not building anything and using checked in binary file for now

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 31

Quoted 10 lines
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +10 -0
+  echo "Nothing to compile"
+}
+
+do_install () {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+    install -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse
+    cp ${CP_ARGS} ${S}/* -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/
+}
+
+PACKAGES =+ "${PN}-src"

^^^ Nope

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 33

Quoted 1 line
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +1 -0
+FILES_${PN}-dev = "${MPM_INSTALL_DIR_RECIPE}/utils"

Isn't it a binary? Why do you put it into ${PN}-dev?

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 34

Quoted 1 line
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +1 -0
+FILES_${PN}-src = "${S}/*"

^^^ Can't do that.

Quoted 20 lines
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +12 -0
+FILES_${PN}-dbg = "${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/.debug"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN}-dev = "arch file-rdeps"
+INSANE_SKIP_${PN}-src = "arch file-rdeps"
+INSANE_SKIP_${PN} = "arch file-rdeps"
+INSANE_SKIP_${PN}-dbg = "arch file-rdeps"
+
+ALLOW_EMPTY_${PN} = "1"
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#3 lore raw

Denys,

Please decline/NAK on this patch.
I am not familiar enough with the recipe or component content. I will confer with the actual component owner on resubmitting this patch.

Ivan

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, September 26, 2017 1:02 PM
To: Pang, Ivan
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] nativesdk-dspcoreparse: added recipe for nativesdk-dspcoreparse

Ping. Any updates on this one?

Quoted 86 lines · Denys Dmytriyenko
Quoted 36 lines · Ivan Pang
---
 .../multiprocmgr/nativesdk-dspcoreparse_git.bb     | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +22 -0
new file mode 100644
index 0000000..63cf937
@@ -0,0 +1,46 @@
+SUMMARY = "DSP coredump parse utility"
+DESCRIPTION = "The DSP coredump parse (dspcoreparse) utility is a 
+part\ of the Multi-Proc Manager (MPM). This utility is used to 
+provide\ information upon a DSP core crash or unexpected runtime termination."
+
+require recipes-ti/includes/ti-paths.inc include 
+recipes-ti/multiprocmgr/multiprocmgr.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://dspcoreparse.c;beginline=1;endline=31;md5=7c271e4a6bd961947bce20c7fe5f86fe"
+BRANCH = "master"
+
+SRC_URI = "git://git.ti.com/sdk-tools/dspcoreparse.git;protocol=git;branch=${BRANCH}"
+
+# Below commit ID corresponds to "DSPCOREPARSE.01.00.00.00A"
+SRCREV = "b692b85a33052a5c736cd538eedf178d45bd4e4e"
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+  # Not building anything and using checked in binary file for now
+  echo "Nothing to compile"

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 32

Quoted 10 lines
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +10 -0
+}
+
+do_install () {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+    install -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse
+    cp ${CP_ARGS} ${S}/* -d 
+${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/
+}
+
+PACKAGES =+ "${PN}-src"

^^^ Nope

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 33

Quoted 1 line
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +1 -0
+FILES_${PN}-dev = "${MPM_INSTALL_DIR_RECIPE}/utils"

Isn't it a binary? Why do you put it into ${PN}-dev?

recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb line 34

Quoted 1 line
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +1 -0
+FILES_${PN}-src = "${S}/*"

^^^ Can't do that.

Quoted 15 lines
recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb new file +12 -1
+FILES_${PN}-dbg = "${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/.debug"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN}-dev = "arch file-rdeps"
+INSANE_SKIP_${PN}-src = "arch file-rdeps"
+INSANE_SKIP_${PN} = "arch file-rdeps"
+INSANE_SKIP_${PN}-dbg = "arch file-rdeps"
+
+ALLOW_EMPTY_${PN} = "1"
--

1.9.1

Quoted 5 lines

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

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