[meta-integrity] layer.conf: use += instead of := to update BBFILES

Submitted by Sajjad Ahmed on Oct. 16, 2020, 8:17 a.m. | Patch ID: 177288

Details

Message ID 20201016081742.171736-1-sajjad_ahmed@mentor.com
State Under Review
Delegated to: Armin Kuster
Headers show

Commit Message

Sajjad Ahmed Oct. 16, 2020, 8:17 a.m.
Updating BBFILES with := isn't the standard way and can break
parsing under certain conditions, instead use += which is widely used.

Signed-off-by: Sajjad Ahmed <sajjad_ahmed@mentor.com>
---
 meta-integrity/conf/layer.conf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-integrity/conf/layer.conf b/meta-integrity/conf/layer.conf
index f905b0b..6075df9 100644
--- a/meta-integrity/conf/layer.conf
+++ b/meta-integrity/conf/layer.conf
@@ -2,8 +2,7 @@ 
 BBPATH =. "${LAYERDIR}:"
 
 # We have a packages directory, add to BBFILES
-BBFILES := "${BBFILES} \
-            ${LAYERDIR}/recipes-*/*/*.bb \
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
             ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "integrity"