configure: Only clone softfloat-3 repositories if TCG is enabled
PATCH 1/1 configure: Only clone softfloat-3 repositories if TCG is enabled
--- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
configure +5 -2
@@ -257,8 +257,6 @@ if test -e "$source_path/.git" then git_submodules_action="update" git_submodules="ui/keycodemapdb" - git_submodules="$git_submodules tests/fp/berkeley-testfloat-3" - git_submodules="$git_submodules tests/fp/berkeley-softfloat-3" else git_submodules_action="ignore" git_submodules=""
@@ -2277,6 +2275,11 @@ if test "$solaris" = "yes" ; then fi fi +if test "$tcg" = "enabled"; then + git_submodules="$git_submodules tests/fp/berkeley-testfloat-3" + git_submodules="$git_submodules tests/fp/berkeley-softfloat-3" +fi + if test -z "${target_list+xxx}" ; then default_targets=yes for target in $default_target_list; do
Signature · 1 line
2.26.3
Quoted 19 lines · Philippe Mathieu-Daudé
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)configure +0
-2@@ -257,8 +257,6 @@ if test -e "$source_path/.git" then git_submodules_action="update" git_submodules="ui/keycodemapdb" - git_submodules="$git_submodules tests/fp/berkeley-testfloat-3" - git_submodules="$git_submodules tests/fp/berkeley-softfloat-3" else git_submodules_action="ignore" git_submodules=""
configure if test "$solaris" = "yes" ; then · line 2278
Quoted 4 lines
configure +1
-0@@ -2277,6 +2275,11 @@ if test "$solaris" = "yes" ; then fi fi +if test "$tcg" = "enabled"; then
Shouldn't there be a check here, too, whether git submodules are enabled at all or not?
Thomas
Quoted 8 lines
configure +4
-0+ git_submodules="$git_submodules tests/fp/berkeley-testfloat-3" + git_submodules="$git_submodules tests/fp/berkeley-softfloat-3" +fi + if test -z "${target_list+xxx}" ; then default_targets=yes for target in $default_target_list; do
Quoted 18 lines · Thomas Huth
Quoted 17 lines · Philippe Mathieu-Daudé
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
configure | 7 +++++--1 file changed, 5 insertions(+), 2 deletions(-)configure +0
-0@@ -257,8 +257,6 @@ if test -e "$source_path/.git"then
git_submodules_action="update" git_submodules="ui/keycodemapdb"
- git_submodules="$git_submodules tests/fp/berkeley-testfloat-3" - git_submodules="$git_submodules tests/fp/berkeley-softfloat-3" else
git_submodules_action="ignore"
Quoted 8 lines
Quoted 5 lines
git_submodules=""
configure +0
-0@@ -2277,6 +2275,11 @@ if test "$solaris" = "yes" ; thenfi
fi
+if test "$tcg" = "enabled"; thenShouldn't there be a check here, too, whether git submodules are enabled at all or not?
IIUC this check is done later (see $git_submodules_action):
5487 if !(GIT="$git" "$source_path/scripts/git-submodule.sh" "$git_submodules_action" "$git_submodules"); then
5488 exit 1
5489 fi
Quoted 13 lines
Thomas
Quoted 8 lines
+ git_submodules="$git_submodules tests/fp/berkeley-testfloat-3" + git_submodules="$git_submodules tests/fp/berkeley-softfloat-3"
configure +2
-0+fi +if test -z "${target_list+xxx}" ; then
default_targets=yes
for target in $default_target_list; do
Paolo Bonzini
AppliedQuoted 21 lines · Philippe Mathieu-Daudé
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)configure +0
-2@@ -257,8 +257,6 @@ if test -e "$source_path/.git" then git_submodules_action="update" git_submodules="ui/keycodemapdb" - git_submodules="$git_submodules tests/fp/berkeley-testfloat-3" - git_submodules="$git_submodules tests/fp/berkeley-softfloat-3" else git_submodules_action="ignore" git_submodules=""@@ -2277,6 +2275,11 @@ if test "$solaris" = "yes" ; then fi
configure if test "$solaris" = "yes" ; then · line 2285
Quoted 10 lines
configure +5
-0fi +if test "$tcg" = "enabled"; then + git_submodules="$git_submodules tests/fp/berkeley-testfloat-3" + git_submodules="$git_submodules tests/fp/berkeley-softfloat-3" +fi + if test -z "${target_list+xxx}" ; then default_targets=yes for target in $default_target_list; do
Queued, thanks.
Paolo