Skip to contentSkip to conversation

pruss-lld: set CLEANBROKEN

PATCH In review Jacob Stiffler 2 participants 3 messages Dec 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pruss-lld: set CLEANBROKEN

* The Linux binaries are built by the "makefile_armv7".
* pruss-lld provides a "makefile", but it is used for building the RTOS binaries.
* This "makefile" requires the ti-pdk-build-rtos package and is broken without it, so therefore set CLEANBROKEN instead of pulling in unnecessary dependencies.

---
 recipes-bsp/pruss-lld/pruss-lld-test_git.bb | 2 ++
 recipes-bsp/pruss-lld/pruss-lld_git.bb      | 2 ++
 2 files changed, 4 insertions(+)
recipes-bsp/pruss-lld/pruss-lld-test_git.bb +2 -0
index d994ec8..696f5a7 100644
@@ -4,6 +4,8 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
 include pruss-lld.inc
 
+CLEANBROKEN = "1"
+
 PR = "${INC_PR}.0"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
recipes-bsp/pruss-lld/pruss-lld_git.bb +2 -0
index 72670f4..451819d 100644
@@ -4,6 +4,8 @@ DEPENDS="common-csl-ip osal"
 
 include pruss-lld.inc
 
+CLEANBROKEN = "1"
+
 PR = "${INC_PR}.1"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 9 lines · Jacob Stiffler

* The Linux binaries are built by the "makefile_armv7".
* pruss-lld provides a "makefile", but it is used for building the RTOS binaries.
* This "makefile" requires the ti-pdk-build-rtos package and is broken without it, so therefore set CLEANBROKEN instead of pulling in unnecessary dependencies.

Could you not just make sure the -f is passed to the clean?

EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}”

Signature · 4 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 10 lines · Christopher Larson

On Tue, Dec 20, 2016 at 9:14 AM, Jacob Stiffler <[email protected] <mailto:[email protected]>> wrote:

* The Linux binaries are built by the "makefile_armv7".
* pruss-lld provides a "makefile", but it is used for building the RTOS binaries.
* This "makefile" requires the ti-pdk-build-rtos package and is broken without it, so therefore set CLEANBROKEN instead of pulling in unnecessary dependencies.

Quoted 7 lines

<mailto:[email protected]>>

Could you not just make sure the -f is passed to the clean?

EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}”

This works. I will send out the v2.

Quoted 5 lines
Signature · 4 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics