hwstub: make it possible to override toolchain
Default toolchain can be overriden using PREFIX, for example: PREFIX=arm-none-eabi- make Change-Id: I06f5ad0ad492b9f648ccba853a851918644f0500
This commit is contained in:
parent
729e7130a0
commit
bc25437448
4 changed files with 20 additions and 16 deletions
|
@ -1,10 +1,11 @@
|
|||
#
|
||||
# common
|
||||
#
|
||||
CC=mipsel-elf-gcc
|
||||
LD=mipsel-elf-gcc
|
||||
AS=mipsel-elf-gcc
|
||||
OC=mipsel-elf-objcopy
|
||||
PREFIX?=mipsel-elf-
|
||||
CC=$(PREFIX)gcc
|
||||
LD=$(PREFIX)gcc
|
||||
AS=$(PREFIX)gcc
|
||||
OC=$(PREFIX)objcopy
|
||||
DEFINES=
|
||||
INCLUDES=-I$(CURDIR)
|
||||
GCCOPTS=-march=mips32r2 -G0 -msoft-float
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#
|
||||
# common
|
||||
#
|
||||
CC=arm-elf-eabi-gcc
|
||||
LD=arm-elf-eabi-gcc
|
||||
AS=arm-elf-eabi-gcc
|
||||
OC=arm-elf-eabi-objcopy
|
||||
PREFIX?=arm-elf-eabi-
|
||||
CC=$(PREFIX)gcc
|
||||
LD=$(PREFIX)gcc
|
||||
AS=$(PREFIX)gcc
|
||||
OC=$(PREFIX)objcopy
|
||||
DEFINES=
|
||||
INCLUDES=-I$(CURDIR)
|
||||
GCCOPTS=-mcpu=arm7tdmi
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#
|
||||
# common
|
||||
#
|
||||
CC=arm-elf-eabi-gcc
|
||||
LD=arm-elf-eabi-gcc
|
||||
AS=arm-elf-eabi-gcc
|
||||
OC=arm-elf-eabi-objcopy
|
||||
PREFIX?=arm-elf-eabi-
|
||||
CC=$(PREFIX)gcc
|
||||
LD=$(PREFIX)gcc
|
||||
AS=$(PREFIX)gcc
|
||||
OC=$(PREFIX)objcopy
|
||||
DEFINES=
|
||||
INCLUDES=-I$(CURDIR)
|
||||
GCCOPTS=-march=armv5te
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#
|
||||
# common
|
||||
#
|
||||
CC=arm-elf-eabi-gcc
|
||||
LD=arm-elf-eabi-gcc
|
||||
AS=arm-elf-eabi-gcc
|
||||
OC=arm-elf-eabi-objcopy
|
||||
PREFIX?=arm-elf-eabi-
|
||||
CC=$(PREFIX)gcc
|
||||
LD=$(PREFIX)gcc
|
||||
AS=$(PREFIX)gcc
|
||||
OC=$(PREFIX)objcopy
|
||||
SBTOOLS=$(CURDIR)/../../../imxtools/sbtools
|
||||
ELFTOSB=$(SBTOOLS)/elftosb
|
||||
ELFTOSB1=$(SBTOOLS)/elftosb1
|
||||
|
|
Loading…
Reference in a new issue