Commit 18408096 authored by Erik Faye-Lund's avatar Erik Faye-Lund
Browse files

makefile: obey USE_ARMCC env variable

parent cdd7b12f
......@@ -51,8 +51,12 @@ define setup-armcc
$(1)AR = armar
endef
ifdef USE_ARMCC
$(eval $(call setup-armcc,TARGET_))
else
$(eval $(call setup-gcc,TARGET_, $(TARGET_PREFIX)))
# $(eval $(call setup-armcc,TARGET_))
endif
$(eval $(call setup-gcc,,))
ifneq ($(findstring $(MAKEFLAGS),s),s)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment