Re: [PATCH] Make m68k cross compile like every other architecture.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Geert Uytterhoeven <geert@...>
Cc: Finn Thain <fthain@...>, Rob Landley <rob@...>, LKML <linux-kernel@...>, Linux/m68k <linux-m68k@...>
Date: Friday, October 12, 2007 - 6:21 am

On Fri, Oct 12, 2007 at 10:51:00AM +0200, Geert Uytterhoeven wrote:

Test if the expected gcc is available and set CROSS_COMPILE
if it is present. Otherwise do not touch CROSS_COMPILE.

m68kgcc := $(shell "test if m68k-gcc is present and echo 'y' if so")
ifeq ($(m68kgcc,y)
        CROSS_COMPILE := m68k-foo
endif

Then everyone is happy.
parisc does something similar.

	Sam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Make m68k cross compile like every other archite..., Geert Uytterhoeven, (Thu Oct 11, 3:25 am)
Re: [PATCH] Make m68k cross compile like every other archite..., Geert Uytterhoeven, (Thu Oct 11, 8:46 am)
Re: [PATCH] Make m68k cross compile like every other archite..., Geert Uytterhoeven, (Thu Oct 11, 11:12 am)
Re: [PATCH] Make m68k cross compile like every other archite..., Geert Uytterhoeven, (Fri Oct 12, 2:51 am)
Re: [PATCH] Make m68k cross compile like every other archite..., Geert Uytterhoeven, (Fri Oct 12, 4:51 am)
Re: [PATCH] Make m68k cross compile like every other archite..., Sam Ravnborg, (Fri Oct 12, 6:21 am)
Re: [PATCH] Make m68k cross compile like every other archite..., Geert Uytterhoeven, (Mon Oct 15, 4:25 pm)