aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-12-03 12:09:11 -0800
committerArmin Kuster <akuster808@gmail.com>2019-02-04 21:24:41 -0800
commit25a65a40494c9153f9129224b06c91feeaae17cc (patch)
tree73a53cdc968e72f2f621d8655b06646e92b477fc
parentd64d35ad944893c6edc24aaac37add774be02cd7 (diff)
downloadmeta-openembedded-contrib-25a65a40494c9153f9129224b06c91feeaae17cc.tar.gz
meta-openembedded-contrib-25a65a40494c9153f9129224b06c91feeaae17cc.tar.bz2
meta-openembedded-contrib-25a65a40494c9153f9129224b06c91feeaae17cc.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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-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 59b73f8e8b..7dcaaf6828 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"