diff options
author | Max Filippov | 2021-03-30 09:25:24 +0200 |
---|---|---|
committer | Max Filippov | 2021-04-03 17:52:18 +0200 |
commit | 84317d57e8c61ff68eeaa1f2de93472fa930a6a4 (patch) | |
tree | ae7ccf3618ddc33e78816d0dea968e9089e7ae83 /target/xtensa/meson.build | |
parent | Update version for v6.0.0-rc1 release (diff) | |
download | qemu-84317d57e8c61ff68eeaa1f2de93472fa930a6a4.tar.gz qemu-84317d57e8c61ff68eeaa1f2de93472fa930a6a4.tar.xz qemu-84317d57e8c61ff68eeaa1f2de93472fa930a6a4.zip |
target/xtensa: fix meson.build rule for xtensa cores
import_core.sh tries to change Makefile.objs when importing new xtensa
core, but that file no longer exists. Rewrite meson.build rule to pick
up all source files that match core-*.c pattern and drop commands that
change Makefile.objs.
Cc: qemu-stable@nongnu.org # v5.2.0
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/xtensa/meson.build')
-rw-r--r-- | target/xtensa/meson.build | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/target/xtensa/meson.build b/target/xtensa/meson.build index dd750a977e..7c4efa6c62 100644 --- a/target/xtensa/meson.build +++ b/target/xtensa/meson.build @@ -1,14 +1,9 @@ xtensa_ss = ss.source_set() + +xtensa_cores = run_command('sh', '-c', 'cd $MESON_SOURCE_ROOT/$MESON_SUBDIR ; ls -1 core-*.c') +xtensa_ss.add(files(xtensa_cores.stdout().strip().split('\n'))) + xtensa_ss.add(files( - 'core-dc232b.c', - 'core-dc233c.c', - 'core-de212.c', - 'core-de233_fpu.c', - 'core-dsp3400.c', - 'core-fsf.c', - 'core-sample_controller.c', - 'core-test_kc705_be.c', - 'core-test_mmuhifi_c3.c', 'cpu.c', 'exc_helper.c', 'fpu_helper.c', |