]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: put perf .debug dir in -dbg package
authorScott Garman <scott.a.garman@intel.com>
Thu, 6 Sep 2012 17:50:40 +0000 (10:50 -0700)
committerScott Garman <scott.a.garman@intel.com>
Mon, 24 Sep 2012 16:51:11 +0000 (09:51 -0700)
This is needed to avoid the following QA error:

ERROR: QA Issue: non debug package contains .debug directory:
kernel-dev path

Patch proposed by Matthew McClintock <msm@freescale.com>

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
meta/classes/kernel.bbclass

index 7ae2a53777541d102a37fef5a31bea968ad30b49..101f6151780de9ba9bf557918a7daa2c605c8a41 100644 (file)
@@ -546,4 +546,5 @@ EXPORT_FUNCTIONS do_deploy
 PACKAGES =+ "perf-dbg perf"
 FILES_perf = "${bindir}/* \
               ${libexecdir}"
-FILES_perf-dbg = "${FILES_${PN}-dbg}"
+FILES_perf-dbg = "${FILES_${PN}-dbg} \
+                  ${KERNEL_SRC_PATH}/tools/perf/.debug"