* [patch] target makefile frag collection, REALLY correct.
@ 2002-07-02 12:44 Nathanael Nerode
2002-07-02 14:28 ` DJ Delorie
2002-07-02 16:47 ` DJ Delorie
0 siblings, 2 replies; 6+ messages in thread
From: Nathanael Nerode @ 2002-07-02 12:44 UTC (permalink / raw)
To: gcc-patches, gdb-patches, binutils, dj
Of course, my previous version was wrong. Here's the really final version.
(ick)
2002-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Rearrange target Makefile fragment collection.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.166
diff -u -r1.166 configure.in
--- configure.in 2 Jul 2002 18:01:37 -0000 1.166
+++ configure.in 2 Jul 2002 19:39:07 -0000
@@ -1178,44 +1178,47 @@
case "${target}" in
v810*)
- target_makefile_frag="${target_makefile_frag} config/mt-v810"
+ target_makefile_frag="config/mt-v810"
;;
i[3456]86-*-netware*)
- target_makefile_frag="${target_makefile_frag} config/mt-netware"
+ target_makefile_frag="config/mt-netware"
;;
powerpc-*-netware*)
- target_makefile_frag="${target_makefile_frag} config/mt-netware"
- ;;
- alpha*-*-linux*)
- target_makefile_frag="${target_makefile_frag} config/mt-linux"
- target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
- ;;
- alpha*-*-*)
- target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
+ target_makefile_frag="config/mt-netware"
;;
*-*-linux*)
- target_makefile_frag="${target_makefile_frag} config/mt-linux"
+ target_makefile_frag="config/mt-linux"
;;
*-*-aix4.[3456789]* | *-*-aix[56789].*)
- target_makefile_frag="${target_makefile_frag} config/mt-aix43"
+ target_makefile_frag="config/mt-aix43"
;;
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
- target_makefile_frag="${target_makefile_frag} config/mt-wince"
+ target_makefile_frag="config/mt-wince"
+ ;;
+esac
+
+alphaieee_frag=
+case $target in
+ alpha*-*-*)
+ # This just makes sure to use the -mieee option to build target libs.
+ # This should probably be set individually by each library.
+ alphaieee_frag="config/mt-alphaieee"
;;
esac
# If --enable-target-optspace always use -Os instead of -O2 to build
# the target libraries, similarly if it is not specified, use -Os
# on selected platforms.
+ospace_frag=
case "${enable_target_optspace}:${target}" in
yes:*)
- target_makefile_frag="${target_makefile_frag} config/mt-ospace"
+ ospace_frag="config/mt-ospace"
;;
:d30v-*)
- target_makefile_frag="${target_makefile_frag} config/mt-d30v"
+ ospace_frag="config/mt-d30v"
;;
:m32r-* | :d10v-* | :fr30-*)
- target_makefile_frag="${target_makefile_frag} config/mt-ospace"
+ ospace_frag="config/mt-ospace"
;;
no:* | :*)
;;
@@ -1225,8 +1228,8 @@
esac
rm -f mt-frag
-if test -n "${target_makefile_frag}" ; then
- for f in ${target_makefile_frag}
+if test -n "${target_makefile_frag}${alphaieee_frag}${ospace_frag}" ; then
+ for f in ${target_makefile_frag} ${alphaieee_frag} ${ospace_frag}
do
cat ${srcdir}/$f >> mt-frag
done
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: target makefile frag collection, REALLY correct.
2002-07-02 12:44 [patch] target makefile frag collection, REALLY correct Nathanael Nerode
@ 2002-07-02 14:28 ` DJ Delorie
2002-07-02 14:57 ` Matt Kraai
2002-07-02 16:47 ` DJ Delorie
1 sibling, 1 reply; 6+ messages in thread
From: DJ Delorie @ 2002-07-02 14:28 UTC (permalink / raw)
To: neroden; +Cc: gcc-patches, gdb-patches, binutils
> - alpha*-*-linux*)
> - target_makefile_frag="${target_makefile_frag} config/mt-linux"
Where did these lines go?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: target makefile frag collection, REALLY correct.
2002-07-02 14:57 ` Matt Kraai
@ 2002-07-02 14:45 ` Matt Kraai
2002-07-02 15:24 ` DJ Delorie
1 sibling, 0 replies; 6+ messages in thread
From: Matt Kraai @ 2002-07-02 14:45 UTC (permalink / raw)
To: DJ Delorie; +Cc: neroden, gcc-patches, gdb-patches, binutils
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
On Tue, Jul 02, 2002 at 05:27:20PM -0400, DJ Delorie wrote:
>
> > - alpha*-*-linux*)
> > - target_makefile_frag="${target_makefile_frag} config/mt-linux"
>
> Where did these lines go?
They are caught by the *-*-linux* case, right?
Matt
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: target makefile frag collection, REALLY correct.
2002-07-02 14:28 ` DJ Delorie
@ 2002-07-02 14:57 ` Matt Kraai
2002-07-02 14:45 ` Matt Kraai
2002-07-02 15:24 ` DJ Delorie
0 siblings, 2 replies; 6+ messages in thread
From: Matt Kraai @ 2002-07-02 14:57 UTC (permalink / raw)
To: DJ Delorie; +Cc: neroden, gcc-patches, gdb-patches, binutils
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
On Tue, Jul 02, 2002 at 05:27:20PM -0400, DJ Delorie wrote:
>
> > - alpha*-*-linux*)
> > - target_makefile_frag="${target_makefile_frag} config/mt-linux"
>
> Where did these lines go?
They are caught by the *-*-linux* case, right?
Matt
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: target makefile frag collection, REALLY correct.
2002-07-02 14:57 ` Matt Kraai
2002-07-02 14:45 ` Matt Kraai
@ 2002-07-02 15:24 ` DJ Delorie
1 sibling, 0 replies; 6+ messages in thread
From: DJ Delorie @ 2002-07-02 15:24 UTC (permalink / raw)
To: kraai; +Cc: neroden, gcc-patches, gdb-patches, binutils
> They are caught by the *-*-linux* case, right?
Yup, they are.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: target makefile frag collection, REALLY correct.
2002-07-02 12:44 [patch] target makefile frag collection, REALLY correct Nathanael Nerode
2002-07-02 14:28 ` DJ Delorie
@ 2002-07-02 16:47 ` DJ Delorie
1 sibling, 0 replies; 6+ messages in thread
From: DJ Delorie @ 2002-07-02 16:47 UTC (permalink / raw)
To: neroden; +Cc: gcc-patches, gdb-patches, binutils
> 2002-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
>
> * configure.in: Rearrange target Makefile fragment collection.
Ok.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-07-02 22:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-02 12:44 [patch] target makefile frag collection, REALLY correct Nathanael Nerode
2002-07-02 14:28 ` DJ Delorie
2002-07-02 14:57 ` Matt Kraai
2002-07-02 14:45 ` Matt Kraai
2002-07-02 15:24 ` DJ Delorie
2002-07-02 16:47 ` DJ Delorie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox