123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- From bf85b8bbcb4b77725d4c22c1bb25a29f6ff21038 Mon Sep 17 00:00:00 2001
- From: Khem Raj <raj.khem@gmail.com>
- Date: Fri, 29 Mar 2013 09:33:04 +0400
- Subject: [PATCH] Use the multilib config files from ${B} instead of using the
- ones from ${S}
- Use the multilib config files from ${B} instead of using the ones from ${S}
- so that the source can be shared between gcc-cross-initial,
- gcc-cross-intermediate, gcc-cross, gcc-runtime, and also the sdk build.
- Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
- Upstream-Status: Inappropriate [configuration]
- ---
- gcc/configure | 22 ++++++++++++++++++----
- gcc/configure.ac | 22 ++++++++++++++++++----
- 2 files changed, 36 insertions(+), 8 deletions(-)
- diff --git a/gcc/configure b/gcc/configure
- index 3fc0e2f5813..2f0f0e057a9 100755
- --- a/gcc/configure
- +++ b/gcc/configure
- @@ -13361,10 +13361,20 @@ done
- tmake_file_=
- for f in ${tmake_file}
- do
- - if test -f ${srcdir}/config/$f
- - then
- - tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
- - fi
- + case $f in
- + */t-linux64 )
- + if test -f ./config/$f
- + then
- + tmake_file_="${tmake_file_} ./config/$f"
- + fi
- + ;;
- + * )
- + if test -f ${srcdir}/config/$f
- + then
- + tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
- + fi
- + ;;
- + esac
- done
- tmake_file="${tmake_file_}${omp_device_property_tmake_file}"
-
- @@ -13375,6 +13385,10 @@ tm_file_list="options.h"
- tm_include_list="options.h insn-constants.h"
- for f in $tm_file; do
- case $f in
- + */linux64.h )
- + tm_file_list="${tm_file_list} ./config/$f"
- + tm_include_list="${tm_include_list} ./config/$f"
- + ;;
- ./* )
- f=`echo $f | sed 's/^..//'`
- tm_file_list="${tm_file_list} $f"
- diff --git a/gcc/configure.ac b/gcc/configure.ac
- index 46de496b256..6155b83a732 100644
- --- a/gcc/configure.ac
- +++ b/gcc/configure.ac
- @@ -2312,10 +2312,20 @@ done
- tmake_file_=
- for f in ${tmake_file}
- do
- - if test -f ${srcdir}/config/$f
- - then
- - tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
- - fi
- + case $f in
- + */t-linux64 )
- + if test -f ./config/$f
- + then
- + tmake_file_="${tmake_file_} ./config/$f"
- + fi
- + ;;
- + * )
- + if test -f ${srcdir}/config/$f
- + then
- + tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
- + fi
- + ;;
- + esac
- done
- tmake_file="${tmake_file_}${omp_device_property_tmake_file}"
-
- @@ -2326,6 +2336,10 @@ tm_file_list="options.h"
- tm_include_list="options.h insn-constants.h"
- for f in $tm_file; do
- case $f in
- + */linux64.h )
- + tm_file_list="${tm_file_list} ./config/$f"
- + tm_include_list="${tm_include_list} ./config/$f"
- + ;;
- ./* )
- f=`echo $f | sed 's/^..//'`
- tm_file_list="${tm_file_list} $f"
|