OLD | NEW |
1 # multilibs -*- mode:Makefile -*- | 1 # multilibs -*- mode:Makefile -*- |
| 2 # |
| 3 # Copyright (C) 2007 Free Software Foundation, Inc. |
| 4 # |
| 5 # This file is part of GCC. |
| 6 # |
| 7 # GCC is free software; you can redistribute it and/or modify |
| 8 # it under the terms of the GNU General Public License as published by |
| 9 # the Free Software Foundation; either version 3, or (at your option) |
| 10 # any later version. |
| 11 # |
| 12 # GCC is distributed in the hope that it will be useful, |
| 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 # GNU General Public License for more details. |
| 16 # |
| 17 # You should have received a copy of the GNU General Public License |
| 18 # along with GCC; see the file COPYING3. If not see |
| 19 # <http://www.gnu.org/licenses/>. |
2 | 20 |
3 # An awk command to extract lines from the m68k-devices.def file that | 21 # An awk command to extract lines from the m68k-devices.def file that |
4 # match $1 and then print the string defined by $2. Leading and | 22 # match $1 and then print the string defined by $2. Leading and |
5 # trailing whitespace is removed. $1 & $2 can make use of | 23 # trailing whitespace is removed. $1 & $2 can make use of |
6 # CPU -- the cpu identifier (has leading 'm'/'mcf') | 24 # CPU -- the cpu identifier (has leading 'm'/'mcf') |
7 # FLAGS -- the cpu capability flags | 25 # FLAGS -- the cpu capability flags |
8 # CPU_NAME -- the cpu name (has no leading m/mcf) | 26 # CPU_NAME -- the cpu name (has no leading m/mcf) |
9 # MLIB -- the multilib cpu name (no leading m/mcf) | 27 # MLIB -- the multilib cpu name (no leading m/mcf) |
10 # This is intended to be used as $(call M68K_AWK,predicate,string) | 28 # This is intended to be used as $(call M68K_AWK,predicate,string) |
11 M68K_AWK = $(strip $(shell $(AWK) 'BEGIN { FS="[ \t]*[,()][ \t]*"; ORS=" " }; \ | 29 M68K_AWK = $(strip $(shell $(AWK) 'BEGIN { FS="[ \t]*[,()][ \t]*"; ORS=" " }; \ |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 # Remove the default CPU from the explicit exceptions. | 106 # Remove the default CPU from the explicit exceptions. |
89 MULTILIB_EXCEPTIONS := \ | 107 MULTILIB_EXCEPTIONS := \ |
90 $(patsubst mcpu=$(M68K_MLIB_DEFAULT)/%,%,$(MULTILIB_EXCEPTIONS)) | 108 $(patsubst mcpu=$(M68K_MLIB_DEFAULT)/%,%,$(MULTILIB_EXCEPTIONS)) |
91 | 109 |
92 # Convert all options to canonical form. | 110 # Convert all options to canonical form. |
93 MULTILIB_EXCEPTIONS := $(shell echo $(MULTILIB_EXCEPTIONS) | \ | 111 MULTILIB_EXCEPTIONS := $(shell echo $(MULTILIB_EXCEPTIONS) | \ |
94 sed $(CANONICALIZE_OPTIONS)) | 112 sed $(CANONICALIZE_OPTIONS)) |
95 | 113 |
96 LIBGCC = stmp-multilib | 114 LIBGCC = stmp-multilib |
97 INSTALL_LIBGCC = install-multilib | 115 INSTALL_LIBGCC = install-multilib |
OLD | NEW |