zephyr/scripts/Makefile.toolchain.xtools

19 lines
538 B
Makefile
Raw Normal View History

ifndef XTOOLS_TOOLCHAIN_PATH
$(error XTOOLS_TOOLCHAIN_PATH is not set)
endif
CROSS_COMPILE_TARGET_arm = arm-none-eabi
CROSS_COMPILE_arm_version ?= 4.8.3
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.8.0
CROSS_COMPILE_x86=${XTOOLS_TOOLCHAIN_PATH}/${CROSS_COMPILE_TARGET_x86}/bin/${CROSS_COMPILE_TARGET_x86}-
CROSS_COMPILE= $(CROSS_COMPILE_$(ARCH))
TOOLCHAIN_LIBS = gcc
export CROSS_COMPILE TOOLCHAIN_LIBS