[oe-commits] Koen Kooi : libhugetlbfs: kill /opt usage

git at git.openembedded.org git at git.openembedded.org
Mon Oct 21 10:00:45 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: be7ba2fcf1651e3fb01842925100fd4cddfc7f1f
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=be7ba2fcf1651e3fb01842925100fd4cddfc7f1f

Author: Koen Kooi <koen.kooi at linaro.org>
Date:   Fri Oct 18 08:48:06 2013 +0000

libhugetlbfs: kill /opt usage

/opt should never be used for packages built by OE, so install the tests in a more standard location.

Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../libhugetlbfs/libhugetlbfs_git.bb               |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index 24480c3..d29dee1 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -37,8 +37,8 @@ do_configure() {
 
 do_install() {
         oe_runmake PREFIX=${prefix} DESTDIR=${D}  \
-          INST_TESTSDIR32=/opt/libhugetlbfs/tests \
-          INST_TESTSDIR64=/opt/libhugetlbfs/tests \
+          INST_TESTSDIR32=${libdir}/libhugetlbfs/tests \
+          INST_TESTSDIR64=${libdir}/libhugetlbfs/tests \
           install-tests
 }
 
@@ -47,6 +47,6 @@ PARALLEL_MAKE_pn-${PN} = ""
 PACKAGES =+ "${PN}-perl ${PN}-tests "
 FILES_${PN}-dbg += "${libdir}/libhugetlbfs/tests/obj32/.debug ${libdir}/libhugetlbfs/tests/obj64/.debug"
 FILES_${PN}-perl = "${libdir}/perl"
-FILES_${PN}-tests += "/opt/libhugetlbfs/tests"
+FILES_${PN}-tests += "${libdir}/libhugetlbfs/tests"
 
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"



More information about the Openembedded-commits mailing list