diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2025-04-10 06:41:45 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-05-03 01:59:06 -0700 |
| commit | a8995fc3f352d83b4141f0ff7bbc3f13d0f2767f (patch) | |
| tree | 762df9df634bfc9b5fd6db522f2fa644ce25054b /meta-networking/classes | |
| parent | 24ff52ba3b73757cc0255a5b19822e2e4d3d4e0a (diff) | |
| download | meta-openembedded-a8995fc3f352d83b4141f0ff7bbc3f13d0f2767f.tar.gz | |
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>
Diffstat (limited to 'meta-networking/classes')
| -rw-r--r-- | meta-networking/classes/waf-samba.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/classes/waf-samba.bbclass b/meta-networking/classes/waf-samba.bbclass index cb78ce6b0d..49d64b096f 100644 --- a/meta-networking/classes/waf-samba.bbclass +++ b/meta-networking/classes/waf-samba.bbclass | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # waf is a build system which is used by samba related project. | 1 | # waf is a build system which is used by samba related project. |
| 2 | # Obtain details from https://wiki.samba.org/index.php/Waf | 2 | # Obtain details from https://wiki.samba.org/index.php/Waf |
| 3 | # | 3 | # |
| 4 | inherit qemu python3native | 4 | inherit python3native |
| 5 | 5 | ||
| 6 | DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3" | 6 | DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3" |
| 7 | 7 | ||
| @@ -77,7 +77,7 @@ do_configure() { | |||
| 77 | echo 'Checking uname release type: "${OLDEST_KERNEL}"' >> ${CROSS_ANSWERS} | 77 | echo 'Checking uname release type: "${OLDEST_KERNEL}"' >> ${CROSS_ANSWERS} |
| 78 | cat ${WAF_CROSS_ANSWERS_PATH}/cross-answers-${TARGET_ARCH}.txt >> ${CROSS_ANSWERS} | 78 | cat ${WAF_CROSS_ANSWERS_PATH}/cross-answers-${TARGET_ARCH}.txt >> ${CROSS_ANSWERS} |
| 79 | 79 | ||
| 80 | qemu_binary="${@qemu_target_binary(d)}" | 80 | qemu_binary="${@oe.qemu.qemu_target_binary(d)}" |
| 81 | if [ "${qemu_binary}" = "qemu-allarch" ]; then | 81 | if [ "${qemu_binary}" = "qemu-allarch" ]; then |
| 82 | qemu_binary="qemuwrapper" | 82 | qemu_binary="qemuwrapper" |
| 83 | fi | 83 | fi |
