mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
targets are m68k-linux, m68k-netbsd and ppc-linux
This commit is contained in:
parent
33f08f27fc
commit
19d7d47d02
@ -78,26 +78,38 @@ PPC_STRIP = \$(PPC_CROSS_COMPILE)strip
|
||||
|
||||
cat <<!EOF
|
||||
|
||||
ifeq (\$(TARGET),m68k)
|
||||
ifeq (\$(TARGET),m68k-linux)
|
||||
|
||||
AS = \$(M68K_AS)
|
||||
CC = \$(M68K_CC)
|
||||
LD = \$(M68K_LD)
|
||||
OBJCOPY = \$(M68K_OBJCOPY)
|
||||
STRIP = \$(M68K_STRIP)
|
||||
else
|
||||
ifeq (\$(TARGET),ppc)
|
||||
|
||||
else ifeq (\$(TARGET),m68k-netbsd)
|
||||
|
||||
AS = \$(M68K_AS)
|
||||
CC = \$(M68K_CC)
|
||||
LD = \$(M68K_LD)
|
||||
OBJCOPY = \$(M68K_OBJCOPY)
|
||||
STRIP = \$(M68K_STRIP)
|
||||
|
||||
else ifeq (\$(TARGET),ppc-linux)
|
||||
|
||||
AS = \$(PPC_AS)
|
||||
CC = \$(PPC_CC)
|
||||
LD = \$(PPC_LD)
|
||||
OBJCOPY = \$(PPC_OBJCOPY)
|
||||
STRIP = \$(PPC_STRIP)
|
||||
|
||||
else
|
||||
|
||||
AS = \$(CROSS_COMPILE)as
|
||||
CC = \$(CROSS_COMPILE)gcc
|
||||
LD = \$(CROSS_COMPILE)ld
|
||||
OBJCOPY = \$(CROSS_COMPILE)objcopy
|
||||
STRIP = \$(CROSS_COMPILE)strip
|
||||
endif
|
||||
|
||||
endif
|
||||
!EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user