|
| 1 | +# Copyright (C) 2012-2014 Free Software Foundation, Inc. |
| 2 | +# |
| 3 | +# This file is part of GCC. |
| 4 | +# |
| 5 | +# GCC is free software; you can redistribute it and/or modify |
| 6 | +# it under the terms of the GNU General Public License as published by |
| 7 | +# the Free Software Foundation; either version 3, or (at your option) |
| 8 | +# any later version. |
| 9 | +# |
| 10 | +# GCC is distributed in the hope that it will be useful, |
| 11 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | +# GNU General Public License for more details. |
| 14 | +# |
| 15 | +# You should have received a copy of the GNU General Public License |
| 16 | +# along with GCC; see the file COPYING3. If not see |
| 17 | +# <http://www.gnu.org/licenses/>. |
| 18 | + |
| 19 | +# Multilibs for Zephyr |
| 20 | +MULTILIB_OPTIONS = |
| 21 | +MULTILIB_DIRNAMES = |
| 22 | + |
| 23 | +MULTILIB_OPTIONS += mcpu=leon/mcpu=leon3/mcpu=leon3v7 |
| 24 | +MULTILIB_DIRNAMES += leon leon3 leon3v7 |
| 25 | + |
| 26 | +MULTILIB_OPTIONS += msoft-float |
| 27 | +MULTILIB_DIRNAMES += soft |
| 28 | + |
| 29 | +MULTILIB_OPTIONS += mflat |
| 30 | +MULTILIB_DIRNAMES += flat |
| 31 | + |
| 32 | +MULTILIB_MATCHES = msoft-float=mno-fpu |
| 33 | + |
| 34 | + |
| 35 | +# This is the complete list of multilibs to build |
| 36 | +MULTILIB_REQUIRED = |
| 37 | + |
| 38 | + |
| 39 | +MULTILIB_REQUIRED += msoft-float |
| 40 | + |
| 41 | +MULTILIB_REQUIRED += mcpu=leon |
| 42 | +MULTILIB_REQUIRED += mcpu=leon/msoft-float |
| 43 | +MULTILIB_REQUIRED += mcpu=leon/mflat |
| 44 | +MULTILIB_REQUIRED += mcpu=leon/msoft-float/mflat |
| 45 | + |
| 46 | + |
| 47 | +MULTILIB_REQUIRED += mcpu=leon3 |
| 48 | +MULTILIB_REQUIRED += mcpu=leon3/msoft-float |
| 49 | +MULTILIB_REQUIRED += mcpu=leon3/mflat |
| 50 | +MULTILIB_REQUIRED += mcpu=leon3/msoft-float/mflat |
| 51 | + |
| 52 | +MULTILIB_REQUIRED += mcpu=leon3v7 |
| 53 | +MULTILIB_REQUIRED += mcpu=leon3v7/msoft-float |
| 54 | +MULTILIB_REQUIRED += mcpu=leon3v7/mflat |
| 55 | +MULTILIB_REQUIRED += mcpu=leon3v7/msoft-float/mflat |
0 commit comments