[meta-freescale] [PATCH 3/3] ofp: set $prefix to /usr/local
Chunrong Guo
B40290 at freescale.com
Wed Sep 6 19:34:26 PDT 2017
From: Chunrong Guo <chunrong.guo at nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
recipes-extended/ofp/ofp_git.bb | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/recipes-extended/ofp/ofp_git.bb b/recipes-extended/ofp/ofp_git.bb
index b8cb7eb..ffa7892 100644
--- a/recipes-extended/ofp/ofp_git.bb
+++ b/recipes-extended/ofp/ofp_git.bb
@@ -14,15 +14,17 @@ S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
+export prefix = "/usr/local"
+
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "odp"
EXTRA_OECONF = " \
- --prefix=/usr \
+ --prefix=${prefix} \
--libdir=${libdir} \
--host=${SIMPLE_TARGET_SYS} \
- --with-odp=${STAGING_DIR_TARGET} \
+ --with-odp=${STAGING_DIR_TARGET}${prefix} \
"
do_configure () {
@@ -32,6 +34,8 @@ do_configure () {
${S}/configure ${EXTRA_OECONF}
}
-FILES_${PN} += "/usr/ofp/bin"
+FILES_${PN} += "/usr/local/ofp/bin"
FILES_${PN}-dbg += "/usr/ofp/bin/.debug"
COMPATIBLE_MACHINE = "(ls2088a|ls1088a)"
+
+INSANE_SKIP_${PN} += "rpaths"
--
1.9.0
More information about the meta-freescale
mailing list