Message ID | 20250307185645.970034-12-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | accel/tcg: Compile more files once | expand |
On 3/7/25 10:56, Richard Henderson wrote: > Now that tcg-accel-ops.c uses cputlb.h instead of exec-all.h, > it can be built once. > > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > accel/tcg/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build > index 979ce90eb0..70ada21f42 100644 > --- a/accel/tcg/meson.build > +++ b/accel/tcg/meson.build > @@ -20,7 +20,6 @@ specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss) > > specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( > 'cputlb.c', > - 'tcg-accel-ops.c', > 'tcg-accel-ops-mttcg.c', > 'tcg-accel-ops-icount.c', > 'tcg-accel-ops-rr.c', > @@ -29,5 +28,6 @@ specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( > system_ss.add(when: ['CONFIG_TCG'], if_true: files( > 'icount-common.c', > 'monitor.c', > + 'tcg-accel-ops.c', > 'watchpoint.c', > )) Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build index 979ce90eb0..70ada21f42 100644 --- a/accel/tcg/meson.build +++ b/accel/tcg/meson.build @@ -20,7 +20,6 @@ specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss) specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( 'cputlb.c', - 'tcg-accel-ops.c', 'tcg-accel-ops-mttcg.c', 'tcg-accel-ops-icount.c', 'tcg-accel-ops-rr.c', @@ -29,5 +28,6 @@ specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( system_ss.add(when: ['CONFIG_TCG'], if_true: files( 'icount-common.c', 'monitor.c', + 'tcg-accel-ops.c', 'watchpoint.c', ))
Now that tcg-accel-ops.c uses cputlb.h instead of exec-all.h, it can be built once. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- accel/tcg/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)