[arm] add multiarch definitions for arm-linux-gnueabi

Submitted by Matthias Klose on Nov. 14, 2012, 10:30 p.m.

Details

Message ID 50A41B87.4090007@ubuntu.com
State New
Headers show

Commit Message

Matthias Klose Nov. 14, 2012, 10:30 p.m.
The following patch adds the multiarch definitions for arm-linux-gnu. Tested
using a Debian/Ubuntu package build. Ok for the trunk?

  Matthias

Comments

Ramana Radhakrishnan Nov. 20, 2012, 9:54 p.m.
On Wed, Nov 14, 2012 at 10:30 PM, Matthias Klose <doko@ubuntu.com> wrote:
> The following patch adds the multiarch definitions for arm-linux-gnu. Tested
> using a Debian/Ubuntu package build. Ok for the trunk?

Ok.

Ramana

>
>   Matthias
>
Ramana Radhakrishnan Nov. 20, 2012, 10:47 p.m.
Oh, and while you are there please add 2012 to the copyright years.


Ramana

On Wed, Nov 14, 2012 at 10:30 PM, Matthias Klose <doko@ubuntu.com> wrote:
> The following patch adds the multiarch definitions for arm-linux-gnu. Tested
> using a Debian/Ubuntu package build. Ok for the trunk?
>
>   Matthias
>

Patch hide | download patch | download mbox

2012-11-14  Matthias Klose  <doko@ubuntu.com>

	* config/arm/t-linux-eabi: Define MULTIARCH_DIRNAME for linux target.

Index: config/arm/t-linux-eabi
===================================================================
--- config/arm/t-linux-eabi	(revision 193508)
+++ config/arm/t-linux-eabi	(working copy)
@@ -24,3 +24,6 @@ 
 #MULTILIB_OPTIONS     += mcpu=fa606te/mcpu=fa626te/mcpu=fmp626/mcpu=fa726te
 #MULTILIB_DIRNAMES    += fa606te fa626te fmp626 fa726te
 #MULTILIB_EXCEPTIONS  += *mthumb/*mcpu=fa606te *mthumb/*mcpu=fa626te *mthumb/*mcpu=fmp626 *mthumb/*mcpu=fa726te*
+
+ARM_EB = $(if $(findstring TARGET_BIG_ENDIAN_DEFAULT=1, $(tm_defines)),eb)
+MULTIARCH_DIRNAME = $(call if_multiarch,arm$(ARM_EB)-linux-gnueabi$(if $(filter hard,$(with_float)),hf))