[meta-fsl-arm] packagegroup-fsl-tools-benchmark: Add cpuburn-neon back

Submitted by Rogerio Nunes on Jan. 30, 2014, 4:37 a.m.

Details

Message ID 1391056630-4199-1-git-send-email-ronune@gmail.com
State Accepted, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Rogerio Nunes Jan. 30, 2014, 4:37 a.m.
From: Rogerio Nunes <rogerio.nunes@freescale.com>

cpuburn-neon had been commented out in the previously
available packagegroup-fsl recipe, due to a source code
issue that prevented build in denzil.

When packagegroup-fsl recipe was split, cpubrun-neon package
was not included in any of the new packagegroups.

This patch adds this tool back, as its source code has been
fixed and is now buildable, into the tools-benchmark packagegroup.

The cpubrun-neon package inclusion is actually conditional,
depending on the presence of the 'neon' flag in the TUNE_FEATURES
variable. For this reason, the packagegroup ARCH needs to be
MACHINE specific now.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
---
 recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
index dadefb7..dad4a74 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
@@ -17,4 +17,7 @@  RDEPENDS_${PN} = " \
     iperf \
     nbench-byte \
     tiobench \
+    ${@bb.utils.contains('TUNE_FEATURES', 'neon', 'cpuburn-neon', '', d)} \
 "
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"