Skip to contentSkip to conversation

ti-ipc-rtos: Cleanup scripts for srcipk generation after compile

PATCH In review Sam Nelson 2 participants 3 messages Aug 2, 2016

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 ti-ipc-rtos: Cleanup scripts for srcipk generation after compile

This avoid issues with double srcipk generation.
Resolves issues with empty srcipk package, with some latest updates in meta-arago.

---
 recipes-ti/ipc/ti-ipc-rtos_git.bb | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
recipes-ti/ipc/ti-ipc-rtos_git.bb +4 -5
index c9c4714..0213782 100644
@@ -35,7 +35,7 @@ SRCREV_ipc-metadata = "b6dd82a450d75b9483a7cc9b619a30cf3cc25ae6"
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 DEPENDS = "ti-xdctools ti-sysbios doxygen-native zip-native"
 DEPENDS_append_keystone = " ti-cgt6x-native \
@@ -82,6 +82,9 @@ RELEASE_SUFFIX = ""
 
 IPC_PACKAGE_DIR = "${S}/ipc-package"
 
+deltask do_create_srcipk
+addtask create_srcipk after do_compile before do_install
+
 do_compile() {
   oe_runmake -f ipc-bios.mak clean
   oe_runmake -f ipc-bios.mak release
@@ -123,10 +126,6 @@ do_compile() {
   fi
 }
 
-do_compile_append() {
-  sourceipk_do_create_srcipk
-}
-
 do_install() {
   IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
   # Copy docs and other meta files
Signature · 1 line
1.9.1
#1 lore raw

NO, it shouldn't have been here in the first place! How did I miss it? I'm going to remove that compile_append() below.

Quoted 51 lines · Sam Nelson

This avoid issues with double srcipk generation.
Resolves issues with empty srcipk package, with some latest updates in meta-arago.

---
 recipes-ti/ipc/ti-ipc-rtos_git.bb | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
recipes-ti/ipc/ti-ipc-rtos_git.bb +4 -5
index c9c4714..0213782 100644
@@ -35,7 +35,7 @@ SRCREV_ipc-metadata = "b6dd82a450d75b9483a7cc9b619a30cf3cc25ae6"
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 DEPENDS = "ti-xdctools ti-sysbios doxygen-native zip-native"
 DEPENDS_append_keystone = " ti-cgt6x-native \
@@ -82,6 +82,9 @@ RELEASE_SUFFIX = ""
 
 IPC_PACKAGE_DIR = "${S}/ipc-package"
 
+deltask do_create_srcipk
+addtask create_srcipk after do_compile before do_install
+
 do_compile() {
   oe_runmake -f ipc-bios.mak clean
   oe_runmake -f ipc-bios.mak release
@@ -123,10 +126,6 @@ do_compile() {
   fi
 }
 
-do_compile_append() {
-  sourceipk_do_create_srcipk
-}
-
 do_install() {
   IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
   # Copy docs and other meta files
Signature · 7 lines
1.9.1

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

Agreed.
You can remove the compile append.

Quoted 66 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, August 02, 2016 11:59 AM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Cleanup scripts for srcipk generation after compile

NO, it shouldn't have been here in the first place! How did I miss it? I'm going to remove that compile_append() below.

recipes-ti/ipc/ti-ipc-

Quoted 10 lines · Sam Nelson

This avoid issues with double srcipk generation.
Resolves issues with empty srcipk package, with some latest updates in meta-arago.

---
 recipes-ti/ipc/ti-ipc-rtos_git.bb | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -0

rtos_git.bb

recipes-ti/ipc/ti-ipc-rtos_git.bb SRCREV_ipc-metadata =

Quoted 4 lines

index c9c4714..0213782 100644

recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -0
@@ -35,7 +35,7 @@ SRCREV_ipc-metadata =

"b6dd82a450d75b9483a7cc9b619a30cf3cc25ae6"

Quoted 37 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +4 -6
 S_ipc-examples = "${WORKDIR}/git/ipc-examples"
 S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 DEPENDS = "ti-xdctools ti-sysbios doxygen-native zip-native"
 DEPENDS_append_keystone = " ti-cgt6x-native \
@@ -82,6 +82,9 @@ RELEASE_SUFFIX = ""
 
 IPC_PACKAGE_DIR = "${S}/ipc-package"
 
+deltask do_create_srcipk
+addtask create_srcipk after do_compile before do_install
+
 do_compile() {
   oe_runmake -f ipc-bios.mak clean
   oe_runmake -f ipc-bios.mak release
@@ -123,10 +126,6 @@ do_compile() {
   fi
 }
 
-do_compile_append() {
-  sourceipk_do_create_srcipk
-}
-
 do_install() {
   IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
   # Copy docs and other meta files
--

1.9.1

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