While we are ceasing to care about these targets it is useful for CI purposes to be able to enable them all without having to remember the list.
Suggested-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> --- configure | 17 ++++++++++++++++- .gitlab-ci.yml | 4 +--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/configure b/configure index c5f1b3bec6a8..2436125cf541 100755 --- a/configure +++ b/configure @@ -1039,9 +1039,13 @@ for opt do ;; --cpu=*) ;; - --target-list=*) target_list="$optarg" + --target-list=*) if test "$target_list_exclude"; then error_exit "Can't mix --target-list with --target-list-exclude" + elif test "$target_list"; then + target_list="$target_list,$optarg" + else + target_list="$optarg" fi ;; --target-list-exclude=*) target_list_exclude="$optarg" @@ -1049,6 +1053,13 @@ for opt do error_exit "Can't mix --target-list-exclude with --target-list" fi ;; + --include-deprecated-targets) + if test "$target_list"; then + target_list="$deprecated_targets_list,$target_list" + else + target_list="$deprecated_targets_list" + fi + ;; --enable-trace-backends=*) trace_backends="$optarg" ;; # XXX: backwards compatibility @@ -1763,6 +1774,10 @@ Standard options: $(echo Available targets: $default_target_list | \ fold -s -w 53 | sed -e 's/^/ /') --target-list-exclude=LIST exclude a set of targets from the default target-list + --include-deprecated-targets add currently deprecated targets to the list +$(echo Deprecated targets: $deprecated_targets_list | \ + fold -s -w 53 | sed -e 's/^/ /') + Advanced options (experts only): --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix] diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c265e7f8ab0a..bc907812c152 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -258,10 +258,8 @@ build-deprecated: <<: *native_build_job_definition variables: IMAGE: debian-all-test-cross - CONFIGURE_ARGS: --disable-docs --disable-tools + CONFIGURE_ARGS: --disable-docs --disable-tools --include-deprecated-targets MAKE_CHECK_ARGS: check-tcg - TARGETS: ppc64abi32-linux-user tilegx-linux-user lm32-softmmu - unicore32-softmmu allow_failure: true build-oss-fuzz: -- 2.20.1