[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/12] hexagon: use env keyword argument to pass PYTHONPATH
From: |
Paolo Bonzini |
Subject: |
[PULL 10/12] hexagon: use env keyword argument to pass PYTHONPATH |
Date: |
Tue, 5 Oct 2021 18:44:06 +0200 |
This feature is new in meson 0.57 and allows getting rid of the "env" wrapper.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target/hexagon/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build
index 6fd9360b74..c6d858ffb2 100644
--- a/target/hexagon/meson.build
+++ b/target/hexagon/meson.build
@@ -156,7 +156,8 @@ dectree_generated = custom_target(
'dectree_generated.h.inc',
output: 'dectree_generated.h.inc',
depends: [iset_py],
- command: ['env', 'PYTHONPATH=' + meson.current_build_dir(),
files('dectree.py'), '@OUTPUT@'],
+ env: {'PYTHONPATH': meson.current_build_dir()},
+ command: [python, files('dectree.py'), '@OUTPUT@'],
)
hexagon_ss.add(dectree_generated)
--
2.31.1
- [PULL 00/12] Misc changes for 2021-10-05, Paolo Bonzini, 2021/10/05
- [PULL 02/12] sev/i386: Introduce sev_add_kernel_loader_hashes for measured linux boot, Paolo Bonzini, 2021/10/05
- [PULL 04/12] hw/misc: applesmc: use host osk as default on macs, Paolo Bonzini, 2021/10/05
- [PULL 07/12] migration: add missing qemu_mutex_lock_iothread in migration_completion, Paolo Bonzini, 2021/10/05
- [PULL 01/12] i386: docs: Briefly describe KVM PV features, Paolo Bonzini, 2021/10/05
- [PULL 03/12] x86/sev: generate SEV kernel loader hashes in x86_load_linux, Paolo Bonzini, 2021/10/05
- [PULL 05/12] configure, meson: move CPU_CFLAGS out of QEMU_CFLAGS, Paolo Bonzini, 2021/10/05
- [PULL 08/12] meson: bump submodule to 0.59.2, Paolo Bonzini, 2021/10/05
- [PULL 11/12] target/xtensa: list cores in a text file, Paolo Bonzini, 2021/10/05
- [PULL 10/12] hexagon: use env keyword argument to pass PYTHONPATH,
Paolo Bonzini <=
- [PULL 09/12] meson: switch minimum meson version to 0.58.2, minimum recommended to 0.59.2, Paolo Bonzini, 2021/10/05
- [PULL 12/12] meson: show library versions in the summary, Paolo Bonzini, 2021/10/05
- Re: [PULL 12/12] meson: show library versions in the summary, Philippe Mathieu-Daudé, 2021/10/06
- Re: [PULL 12/12] meson: show library versions in the summary, Richard Henderson, 2021/10/06
- Re: [PULL 12/12] meson: show library versions in the summary, Philippe Mathieu-Daudé, 2021/10/06
- Re: [PULL 12/12] meson: show library versions in the summary, Paolo Bonzini, 2021/10/06
- Re: [PULL 12/12] meson: show library versions in the summary, Philippe Mathieu-Daudé, 2021/10/06
- Re: [PULL 12/12] meson: show library versions in the summary, Paolo Bonzini, 2021/10/07
[PULL 06/12] migration: block-dirty-bitmap: add missing qemu_mutex_lock_iothread, Paolo Bonzini, 2021/10/05
Re: [PULL 00/12] Misc changes for 2021-10-05, Richard Henderson, 2021/10/05