102 lines
2.1 KiB
Plaintext
102 lines
2.1 KiB
Plaintext
|
#/*
|
|||
|
#*********************************************************************************************************
|
|||
|
#* MELIS
|
|||
|
#* the Easy Portable/Player Develop Kits
|
|||
|
#* Compiler Module
|
|||
|
#*
|
|||
|
#* (c) Copyright 2006-2010, kevin.z China
|
|||
|
#* All Rights Reserved
|
|||
|
#*
|
|||
|
#* File : crosstool.cfg
|
|||
|
#* By : kevin.z
|
|||
|
#* Version : v1.0
|
|||
|
#* Date : 2010-9-7 10:38
|
|||
|
#* Descript: configuration script for RVDS compiler
|
|||
|
#* Update : date auther ver notes
|
|||
|
#*
|
|||
|
#*********************************************************************************************************
|
|||
|
#*/
|
|||
|
#
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
CROSSTOOL = ARMRVDS
|
|||
|
|
|||
|
LICHEEPATH = $(SDKROOT)/../../tools/pack/chips/$(ARCH)
|
|||
|
WORKSPACEPATH = $(SDKROOT)/../pack/chips/$(ARCH)
|
|||
|
WORKTOOLS = $(SDKROOT)/pctools
|
|||
|
|
|||
|
ifeq ($(CROSSTOOL), ARMRVDS)
|
|||
|
|
|||
|
#===============================================================
|
|||
|
#RVDS<44><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#===============================================================
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
CC = @armcc
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
CFLAGS = --cpu=Cortex-A7
|
|||
|
|
|||
|
#C++<2B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
CXX = @armcpp
|
|||
|
CXXFLAGS = --cpu=Cortex-A7 --cpp --no_exceptions
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
AS = @armasm
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
ASFLAGS = --cpu=Cortex-A7
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
LINK = armlink
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
LKFLAGS = --noremove
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
AR = armar
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
ARFLAGS = -r
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
LOAD = fromelf
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
LDFLAGS =
|
|||
|
|
|||
|
|
|||
|
else
|
|||
|
|
|||
|
|
|||
|
ifeq ($(CROSSTOOL), ARMGCC)
|
|||
|
|
|||
|
#===============================================================
|
|||
|
#GNU<4E><55><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#===============================================================
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
CC = @arm-elf-gcc
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
CFLAGS =
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
AS = @arm-elf-as
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
ASFLAGS =
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
LINK = @arm-elf-ld
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
LKFLAGS =
|
|||
|
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
LOAD = @arm-elf-objdump
|
|||
|
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
LDFLAGS =
|
|||
|
|
|||
|
else
|
|||
|
|
|||
|
error:
|
|||
|
$(error CROSSTOOL configuration is invalid!!!)
|
|||
|
|
|||
|
endif
|
|||
|
|
|||
|
|
|||
|
endif
|