[meta-ti,dunfell,11/11] recipes-bsp: lpm-demo: Fix build errors with clean task

Message ID 20220322162528.15298-12-reatmon@ti.com
State Superseded
Headers show
Series Adding support for am62xx | expand

Commit Message

Ryan Eatmon March 22, 2022, 4:25 p.m. UTC
From: Nikhil Devshatwar <nikhil.nd@ti.com>

lpm-demo and tifs-lpm-demo packages only install certain files.
The build breaks when rebuilding incrementally.
It fails the do_configure task.

Fix this by adding CLEANBROKEN in those recipes.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 recipes-bsp/lpm-demo/lpm-demo_1.0.bb           | 2 ++
 recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb | 1 +
 2 files changed, 3 insertions(+)

Patch

diff --git a/recipes-bsp/lpm-demo/lpm-demo_1.0.bb b/recipes-bsp/lpm-demo/lpm-demo_1.0.bb
index 56b04d56..244d7a55 100644
--- a/recipes-bsp/lpm-demo/lpm-demo_1.0.bb
+++ b/recipes-bsp/lpm-demo/lpm-demo_1.0.bb
@@ -8,6 +8,8 @@  COMPATIBLE_MACHINE = "am62xx-evm"
 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 S = "${WORKDIR}"
 
+CLEANBROKEN = "1"
+
 # We need to have the license file from some source. In this case, there
 # is no source. Hence pointing to the license file only
 SRC_URI = "file://GPL-2"
diff --git a/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
index bc341035..e3ba67be 100644
--- a/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
+++ b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
@@ -9,6 +9,7 @@  PV = "v2021.09a"
 
 COMPATIBLE_MACHINE = "am62xx-evm"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
+CLEANBROKEN = "1"
 
 S = "${WORKDIR}/git"
 TARGET = "ti-fs-stub-firmware-am62x-gp.signed.bin"