From a0961fc3c49efda60a8c0bd5b9721a2646e2cfef Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Mon, 9 Jun 2014 23:14:11 +0200
Subject: [PATCH] Build static Ethernet drivers directly from source.
---
cpu/6502/Makefile.6502 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpu/6502/Makefile.6502 b/cpu/6502/Makefile.6502
index 9308335ea..e7f3f56a6 100644
--- a/cpu/6502/Makefile.6502
+++ b/cpu/6502/Makefile.6502
@@ -35,8 +35,6 @@ ifndef CC65_HOME
${error CC65_HOME not defined! You must specify where cc65 resides}
endif
-all: cs8900a.eth lan91c96.eth w5100.eth
-
.SUFFIXES:
CONTIKI_TARGET_DIRS = . lib sys
@@ -58,6 +56,8 @@ MODULES += core/ctk core/net/ip core/net/ipv4 core/net/ipv6
# Set target-specific variable values
${addprefix $(OBJECTDIR)/,${call oname, $(ETHERNET_SOURCEFILES)}}: ASFLAGS += -D DYN_DRV=0
+all: $(ETHERNET_SOURCEFILES:.S=.eth)
+
AS = ca65
CC = cl65
LD = ld65