From 149f3834e6aab1a70df61cc135a91476515ceb4c Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 3 Oct 2013 22:40:25 +0200
Subject: [PATCH] Adjusted Makefile to the final 'atarixl' cc65 target.
- Assign source files to the splitted shadow RAM areas.
- Switched to dynamic Ethernet driver loading.
---
platform/atarixl/Makefile.atarixl | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/platform/atarixl/Makefile.atarixl b/platform/atarixl/Makefile.atarixl
index da9a34339..a914630af 100644
--- a/platform/atarixl/Makefile.atarixl
+++ b/platform/atarixl/Makefile.atarixl
@@ -31,17 +31,15 @@
# Author: Oliver Schmidt
#
-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}
@@ -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