Merge pull request #1706 from oliverschmidt/master

Make use of new cl65 option --print-target-path.
This commit is contained in:
Oliver Schmidt 2016-06-03 15:13:08 +02:00
commit 0151a7c27e
7 changed files with 192 additions and 197 deletions

View file

@ -31,10 +31,6 @@
# Author: Oliver Schmidt <ol.sc@web.de>
#
ifndef CC65_HOME
${error CC65_HOME not defined! You must specify where cc65 resides}
endif
.SUFFIXES:
CONTIKI_TARGET_DIRS = . lib sys
@ -70,3 +66,5 @@ ASFLAGS = -t $(TARGET)
CFLAGS += -t $(TARGET) -Or -W -unused-param
LDFLAGS = -t $(TARGET) -m contiki-$(TARGET).map -D __STACKSIZE__=0x200
AROPTS = a
CC65_TARGET_DIR := $(shell $(CC) --print-target-path)/$(TARGET)