2015-05-14 19:09:10 +08:00
|
|
|
ifndef XTOOLS_TOOLCHAIN_PATH
|
|
|
|
$(error XTOOLS_TOOLCHAIN_PATH is not set)
|
|
|
|
endif
|
2015-05-13 12:44:22 +08:00
|
|
|
|
|
|
|
CROSS_COMPILE_TARGET_arm = arm-none-eabi
|
2015-06-03 00:38:29 +08:00
|
|
|
CROSS_COMPILE_arm_version ?= 4.8.3
|
2015-05-13 12:44:22 +08:00
|
|
|
CROSS_COMPILE_arm=${XTOOLS_TOOLCHAIN_PATH}/${CROSS_COMPILE_TARGET_arm}/bin/${CROSS_COMPILE_TARGET_arm}-
|
|
|
|
|
|
|
|
|
|
|
|
CROSS_COMPILE_TARGET_x86 = i586-pc-elf
|
2015-06-03 00:38:29 +08:00
|
|
|
CROSS_COMPILE_x86_version ?= 4.8.0
|
2015-05-13 12:44:22 +08:00
|
|
|
CROSS_COMPILE_x86=${XTOOLS_TOOLCHAIN_PATH}/${CROSS_COMPILE_TARGET_x86}/bin/${CROSS_COMPILE_TARGET_x86}-
|
|
|
|
|
|
|
|
CROSS_COMPILE= $(CROSS_COMPILE_$(ARCH))
|
|
|
|
|
2015-05-19 07:55:02 +08:00
|
|
|
TOOLCHAIN_LIBS = gcc
|
2015-05-17 20:55:21 +08:00
|
|
|
|
|
|
|
export CROSS_COMPILE TOOLCHAIN_LIBS
|