mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00
Revert "waf-samba.bbclass: adapt to qemu.bbclass refactoring"
This reverts commit a8995fc3f3
.
The patches for oe-core were re-worked. But I forgot to recall
this patch.
In fact, inheriting qemu is needed because it sets a clear barriar
for people to use qemu user mode. And the QEMU_OPTIONS settings
are also in qemu.bbclass.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a2f704f69b
commit
c21040ea2d
|
@ -1,7 +1,7 @@
|
|||
# waf is a build system which is used by samba related project.
|
||||
# Obtain details from https://wiki.samba.org/index.php/Waf
|
||||
#
|
||||
inherit python3native
|
||||
inherit qemu python3native
|
||||
|
||||
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}
|
||||
cat ${WAF_CROSS_ANSWERS_PATH}/cross-answers-${TARGET_ARCH}.txt >> ${CROSS_ANSWERS}
|
||||
|
||||
qemu_binary="${@oe.qemu.qemu_target_binary(d)}"
|
||||
qemu_binary="${@qemu_target_binary(d)}"
|
||||
if [ "${qemu_binary}" = "qemu-allarch" ]; then
|
||||
qemu_binary="qemuwrapper"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user