meson: Add the tcg_tests_cross_cc/cflags options for mips32r6el

Add meson tcg_tests_cross_cc/cflags options for mips32r6el,
similarly of the previous mips32r5el commit c7b1a7bc9d
("tests/tcg/mipsel/mips32r5el: add msa tests"). This allows
compiling TCG tests for the mips32r6el-linux-user targets.

Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Message-ID: <20261030182546.2508-3-philmd@oss.qualcomm.com>
This commit is contained in:
Philippe Mathieu-Daudé committed 2026-11-02 17:05:34 +01:00
1 parent ace0b0b3d1
commit 39eb946d9b
2 files changed
+6

No files matched your search

+4
View File
@@ -461,6 +461,10 @@ option('tcg_tests_cross_cc_mips32r5el', type: 'string',
description: 'cc for mips32r5el tcg tests')
option('tcg_tests_cross_cflags_mips32r5el', type: 'string',
description: 'cflags for mips32r5el tcg tests')
option('tcg_tests_cross_cc_mips32r6el', type: 'string',
description: 'cc for mips32r6el tcg tests')
option('tcg_tests_cross_cflags_mips32r6el', type: 'string',
description: 'cflags for mips32r6el tcg tests')
option('tcg_tests_cross_cc_or1k', type: 'string',
description: 'cc for or1k tcg tests')
option('tcg_tests_cross_cflags_or1k', type: 'string',
+2
View File
@@ -539,6 +539,7 @@ _meson_option_parse() {
--tcg-tests-cross-cc-m68k=*) quote_sh "-Dtcg_tests_cross_cc_m68k=$2" ;;
--tcg-tests-cross-cc-mips=*) quote_sh "-Dtcg_tests_cross_cc_mips=$2" ;;
--tcg-tests-cross-cc-mips32r5el=*) quote_sh "-Dtcg_tests_cross_cc_mips32r5el=$2" ;;
--tcg-tests-cross-cc-mips32r6el=*) quote_sh "-Dtcg_tests_cross_cc_mips32r6el=$2" ;;
--tcg-tests-cross-cc-mips64=*) quote_sh "-Dtcg_tests_cross_cc_mips64=$2" ;;
--tcg-tests-cross-cc-mips64el=*) quote_sh "-Dtcg_tests_cross_cc_mips64el=$2" ;;
--tcg-tests-cross-cc-mips64r6=*) quote_sh "-Dtcg_tests_cross_cc_mips64r6=$2" ;;
@@ -566,6 +567,7 @@ _meson_option_parse() {
--tcg-tests-cross-cflags-m68k=*) quote_sh "-Dtcg_tests_cross_cflags_m68k=$2" ;;
--tcg-tests-cross-cflags-mips=*) quote_sh "-Dtcg_tests_cross_cflags_mips=$2" ;;
--tcg-tests-cross-cflags-mips32r5el=*) quote_sh "-Dtcg_tests_cross_cflags_mips32r5el=$2" ;;
--tcg-tests-cross-cflags-mips32r6el=*) quote_sh "-Dtcg_tests_cross_cflags_mips32r6el=$2" ;;
--tcg-tests-cross-cflags-mips64=*) quote_sh "-Dtcg_tests_cross_cflags_mips64=$2" ;;
--tcg-tests-cross-cflags-mips64el=*) quote_sh "-Dtcg_tests_cross_cflags_mips64el=$2" ;;
--tcg-tests-cross-cflags-mips64r6=*) quote_sh "-Dtcg_tests_cross_cflags_mips64r6=$2" ;;