mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 19:02:13 +00:00
waf-samba.bbclass: adapt to qemu.bbclass refactoring
Avoid inheriting qemu.bbclass and use oe.qemu.xxx instead. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
24ff52ba3b
commit
a8995fc3f3
@ -1,7 +1,7 @@
|
|||||||
# waf is a build system which is used by samba related project.
|
# waf is a build system which is used by samba related project.
|
||||||
# Obtain details from https://wiki.samba.org/index.php/Waf
|
# Obtain details from https://wiki.samba.org/index.php/Waf
|
||||||
#
|
#
|
||||||
inherit qemu python3native
|
inherit python3native
|
||||||
|
|
||||||
DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3"
|
DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3"
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ do_configure() {
|
|||||||
echo 'Checking uname release type: "${OLDEST_KERNEL}"' >> ${CROSS_ANSWERS}
|
echo 'Checking uname release type: "${OLDEST_KERNEL}"' >> ${CROSS_ANSWERS}
|
||||||
cat ${WAF_CROSS_ANSWERS_PATH}/cross-answers-${TARGET_ARCH}.txt >> ${CROSS_ANSWERS}
|
cat ${WAF_CROSS_ANSWERS_PATH}/cross-answers-${TARGET_ARCH}.txt >> ${CROSS_ANSWERS}
|
||||||
|
|
||||||
qemu_binary="${@qemu_target_binary(d)}"
|
qemu_binary="${@oe.qemu.qemu_target_binary(d)}"
|
||||||
if [ "${qemu_binary}" = "qemu-allarch" ]; then
|
if [ "${qemu_binary}" = "qemu-allarch" ]; then
|
||||||
qemu_binary="qemuwrapper"
|
qemu_binary="qemuwrapper"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user