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

login
register
mail settings
Submitter Paul Menzel
Date Jan. 21, 2011, 12:44 p.m.
Message ID <1295613892.12720.58.camel@mattotaupa>
Download mbox | patch
Permalink /patch/333/
State Accepted
Headers show

Comments

Paul Menzel - Jan. 21, 2011, 12:44 p.m.
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

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
CC: Leon Woestenberg <leon@sidebranch.com>
---
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(-)

Patch

diff --git a/recipes/ltp/ltp_20100831.bb b/recipes/ltp/ltp_20100831.bb
index f705405..ca6a4e3 100644
--- a/recipes/ltp/ltp_20100831.bb
+++ b/recipes/ltp/ltp_20100831.bb
@@ -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"