[PATCH V4] tracing: install trace events file only if necessary

2023-04-07 Thread casantos
From: Carlos Santos It is not useful when configuring with --enable-trace-backends=nop. Signed-off-by: Carlos Santos --- Changes v1->v2: Install based on chosen trace backend, not on chosen emulators. Changes v2->v3: Add missing comma Changes v3->v4: Fix array comparison: get_option('

[PATCH V3] tracing: install trace events file only if necessary

2023-04-07 Thread casantos
From: Carlos Santos It is not useful when configuring with --enable-trace-backends=nop. Signed-off-by: Carlos Santos --- Changes v1->v2: Install based on chosen trace backend, not on chosen emulators. Changes v2->v3: Add missing comma --- trace/meson.build | 2 +- 1 file changed, 1 inserti

[PATCH V2] tracing: install trace events file only if necessary

2023-03-27 Thread casantos
From: Carlos Santos It is not useful when configuring with --enable-trace-backends=nop. Signed-off-by: Carlos Santos --- Changes v1->v2: Install based on chosen trace backend, not on chosen emulators. --- trace/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t

[PATCH V3] meson: install keyboard maps only if necessary

2023-03-27 Thread casantos
From: Carlos Santos They are required only for system emulation (i.e. have_system is true). Signed-off-by: Carlos Santos --- Changes v1->v2: Remove stray --{enable,disable}-install-keymaps addition to scripts/meson-buildoptions.sh Changes v2->v3: Reset submodules (synchronize to origin/ma

[PATCH V2] meson: install keyboard maps only if necessary

2023-03-26 Thread casantos
From: Carlos Santos They are required only for system emulation (i.e. have_system is true). Signed-off-by: Carlos Santos --- pc-bios/keymaps/meson.build | 6 -- tests/fp/berkeley-testfloat-3 | 2 +- ui/keycodemapdb | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) d

[PATCH] meson: install keyboard maps only if necessary

2023-03-26 Thread casantos
From: Carlos Santos They are required only for system emulation (i.e. have_system is true). Signed-off-by: Carlos Santos --- pc-bios/keymaps/meson.build | 6 -- scripts/meson-buildoptions.sh | 2 ++ tests/fp/berkeley-testfloat-3 | 2 +- ui/keycodemapdb | 2 +- 4 files chang

[PATCH] tracing: install trace events file only if necessary

2023-03-26 Thread casantos
From: Carlos Santos It is required only if linux-user, bsd-user or system emulator is built. Signed-off-by: Carlos Santos --- trace/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace/meson.build b/trace/meson.build index 8e80be895c..3fb41c97a4 100644 --- a/tr

[PATCH] meson: allow disablind the installation of keymaps

2023-01-02 Thread casantos
From: Carlos Santos There are situatuions in which the keyboard maps are not necessary (e.g. when building only tools or linux-user emulator). Add an option to avoid installing them, as already possible to do with firmware blobs. Signed-off-by: Carlos Santos --- configure |

[PATCH] util/cacheinfo: fix crash when compiling with uClibc

2019-10-17 Thread casantos
From: Carlos Santos uClibc defines _SC_LEVEL1_ICACHE_LINESIZE and _SC_LEVEL1_DCACHE_LINESIZE but the corresponding sysconf calls returns -1, which is a valid result, meaning that the limit is indeterminate. Handle this situation using the fallback values instead of crashing due to an assertion f