Skip to contentSkip to conversation

ltp_20100831: `${PN}-dbg`: use `+=` instead of `=` to append to the list

PATCH New Paul Menzel 1 participant 1 message Jan 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ltp_20100831: `${PN}-dbg`: use `+=` instead of `=` to append to the list

Date: Fri, 21 Jan 2011 13:35:37 +0100

Populating ${PN}-dbg the second entry replaces the list instead of appending to it [1].

[1] http://docs.openembedded.org/usermanual/usermanual.html#metadata_writing_data

CC Leon Woestenberg <[email protected]>

---
I also replaced the first = to += in case the classes find symbols/files to distribute in that package.

---
 recipes/ltp/ltp_20100831.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/ltp/ltp_20100831.bb +2 -2
index f705405..ca6a4e3 100644
@@ -15,8 +15,8 @@ S = "${WORKDIR}/ltp-full-${PV}"
 
 EXTRA_OEMAKE_append = " CROSS_COMPILE=${HOST_PREFIX} SKIP_IDCHECK=1"
 
-FILES_${PN}-dbg = "/usr/.debug"
-FILES_${PN}-dbg = "/usr/bin/.debug"
+FILES_${PN}-dbg += "/usr/.debug"
+FILES_${PN}-dbg += "/usr/bin/.debug"
 FILES_${PN}-dbg += "/usr/runtest/.debug"
 FILES_${PN}-dbg += "/usr/testcases/bin/.debug"
 FILES_${PN}-dbg += "/usr/testcases/bin/*/bin/.debug"
Signature · 1 line
1.7.2.3