7 # Error if TARGET not recognized.
8 $(error TARGET set to
$(TARGET
), which is not a recognized target
)
11 # Get the tool prefix.
13 TOOLPREFIX
:= $(PREFIX
)/arm-none-eabi
15 HOSTCC
:= $(TOOLPREFIX
)-gcc
16 HOSTAS
:= $(TOOLPREFIX
)-as
17 HOSTLD
:= $(TOOLPREFIX
)-ld
18 HOSTOBJCOPY
:= $(TOOLPREFIX
)-objcopy
20 $(error ARCH set to
$(ARCH
), which is not a recognized architecture
)