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
|
|
|
|
CROSS_COMPILE_arm_version = 4.9.2
|
|
|
|
CROSS_COMPILE_arm=${XTOOLS_TOOLCHAIN_PATH}/${CROSS_COMPILE_TARGET_arm}/bin/${CROSS_COMPILE_TARGET_arm}-
|
|
|
|
|
|
|
|
|
|
|
|
CROSS_COMPILE_TARGET_x86 = i586-pc-elf
|
|
|
|
CROSS_COMPILE_x86_version = 4.9.2
|
|
|
|
CROSS_COMPILE_x86=${XTOOLS_TOOLCHAIN_PATH}/${CROSS_COMPILE_TARGET_x86}/bin/${CROSS_COMPILE_TARGET_x86}-
|
|
|
|
|
|
|
|
CROSS_COMPILE= $(CROSS_COMPILE_$(ARCH))
|
|
|
|
|
2015-05-18 20:57:17 +08:00
|
|
|
TOOLCHAIN_LIBS = gcc c m
|
2015-05-17 20:55:21 +08:00
|
|
|
|
|
|
|
export CROSS_COMPILE TOOLCHAIN_LIBS
|