aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-12-03 12:09:11 -0800
committerKhem Raj <raj.khem@gmail.com>2018-12-04 10:00:48 -0800
commit04df72ad372d7148068d731a306806537a8d195b (patch)
tree931b818d3dab966b30bc46e4578bc8d0a5600274 /meta-oe
parent5acd169e4133aa9b0569bc3cbcb3666190ee4783 (diff)
downloadmeta-openembedded-04df72ad372d7148068d731a306806537a8d195b.tar.gz
meta-openembedded-04df72ad372d7148068d731a306806537a8d195b.tar.bz2
meta-openembedded-04df72ad372d7148068d731a306806537a8d195b.zip
a2jmidid: Define own do_configure
waf script here does not support -o switch so define own which can be run in B Secondly, ensure to use python2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-multimedia/jack/a2jmidid_8.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb
index 59b73f8e8..7dcaaf682 100644
--- a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb
+++ b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb
@@ -23,4 +23,9 @@ LDFLAGS_append_libc-musl = " -lexecinfo"
export LINKFLAGS="${LDFLAGS}"
+do_configure() {
+ sed -i 's|/usr/bin/.*python$|/usr/bin/env python2|' ${S}/a2j_control ${S}/waf ${S}/wscript
+ (cd ${B} && ${S}/waf configure --prefix=${prefix} ${WAF_EXTRA_CONF} ${EXTRA_OECONF})
+}
+
FILES_${PN} += "${datadir}/dbus-1/services"