All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] lmbench: if a machine config file exists, install it
@ 2014-08-19 11:49 Yasir-Khan
  2014-08-19 12:07 ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Yasir-Khan @ 2014-08-19 11:49 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Christopher Larson

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
---
 .../recipes-benchmark/lmbench/lmbench_3.0-a9.bb    |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index 41db150..a3873a6 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -60,6 +60,13 @@ do_install () {
            ${D}${bindir}/lmbench-run
     install -m 0755 ${S}/scripts/lmbench ${D}${bindir}
     install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts
+
+    # If the machine installs a config file, install it to the appropriate place
+    if [ -f ${WORKDIR}/CONFIG.${MACHINE} ]; then
+        install -D 0644 ${WORKDIR}/CONFIG.${MACHINE} \
+                        ${D}/${datadir}/lmbench/bin/${TARGET_PREFIX}/CONFIG.${MACHINE}
+    fi
+
 }
 
 pkg_postinst_${PN} () {
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-22 21:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 11:49 [meta-oe][PATCH] lmbench: if a machine config file exists, install it Yasir-Khan
2014-08-19 12:07 ` Martin Jansa
2014-08-22 20:16   ` Christopher Larson
2014-08-22 21:09     ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.