[build] ARM toolchain/Makefile cleanup

- possible to explicitly pass a PREFIX to use other toolchain
  default for PREFIX is arm-none-eabi or arm-linux-gnueabi
- print meaninfull error if arm-linux toolchain is not found
- printcommands prints only CC and GCC version
- remove obsolete find OpenOCD stuff
This commit is contained in:
Felix Ruess
2013-11-14 14:22:44 +01:00
parent 8a782ca3e2
commit f570411036
8 changed files with 51 additions and 108 deletions
+1
View File
@@ -59,6 +59,7 @@ else ifeq ($(FLASH_MODE),JTAG)
# either via normal jtag or BlackMagicProbe
ifeq ($(BMP_PORT),)
# normal jtag via OpenOCD
OOCD ?= openocd
upload: $(OBJDIR)/$(TARGET).hex
@echo "Assuming luftboot bootloader: $(ASSUMING_LUFTBOOT)"
@echo "Using OOCD = $(OOCD)"