Skip to content

Commit

Permalink
Merge pull request #369 from oliverschmidt/master
Browse files Browse the repository at this point in the history
Adjusted Makefile to the final 'atarixl' cc65 target.
  • Loading branch information
oliverschmidt committed Oct 3, 2013
2 parents a642a26 + 149f383 commit 6869dd2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions platform/atarixl/Makefile.atarixl
Expand Up @@ -31,17 +31,15 @@
# Author: Oliver Schmidt <ol.sc@web.de>
#

ETHERNET = cs8900a

CONTIKI_CPU = $(CONTIKI)/cpu/6502
include $(CONTIKI_CPU)/Makefile.6502

STARTADDR_FLAG = -S 0x2400
SHADOW_RAM_SOURCEFILES = tcpip.c uip.c uip_arp.c

# Set a target-specific variable value
${addprefix $(OBJECTDIR)/,${call oname, $(SHADOW_RAM_SOURCEFILES)}}: CFLAGS += --code-name SHADOW_RAM
SHADOW_RAM_SOURCEFILES = etimer.c procinit.c uip.c
SHADOW_RAM2_SOURCEFILES = clock.c uip_arch.c uip_arp.c

# Set target-specific variable values
${addprefix $(OBJECTDIR)/,${call oname, $(SHADOW_RAM_SOURCEFILES)}}: CFLAGS += --code-name SHADOW_RAM
${addprefix $(OBJECTDIR)/,${call oname, $(SHADOW_RAM2_SOURCEFILES)}}: CFLAGS += --code-name SHADOW_RAM2
ifeq ($(MAKECMDGOALS),disk)
ifndef DIR2ATR
${error DIR2ATR not defined! You must specify where dir2atr resides}
Expand All @@ -54,6 +52,7 @@ disk: all
cp $(CONTIKI)/tools/$(TARGET)/dos25/dup.sys atr/dup.sys
cp $(CONTIKI_PROJECT).$(TARGET) atr/autorun.sys
cp $(CONTIKI)/tools/$(TARGET)/sample.cfg atr/contiki.cfg
cp cs8900a.eth atr/cs8900a.eth
ifeq ($(HTTPD-CFS),1)
cp httpd-cfs/index.htm atr/index.htm
cp httpd-cfs/backgrnd.gif atr/backgrnd.gif
Expand Down

0 comments on commit 6869dd2

Please sign in to comment.