summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/calypso
diff options
context:
space:
mode:
authorIngo Albrecht <prom@berlin.ccc.de>2010-03-07 01:41:32 +0100
committerHarald Welte <laforge@gnumonks.org>2010-03-07 11:47:09 +0100
commit41abd7e50055e69993d5e9c8acd9852aee51da1f (patch)
tree4f65fbe8f2f7be78262cf664be4a09933b8e19b3 /src/target/firmware/calypso
parent60bbc89c30cb0cfd88ad46640f50e35d197a0053 (diff)
New build system.
Diffstat (limited to 'src/target/firmware/calypso')
-rw-r--r--src/target/firmware/calypso/Makefile19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/target/firmware/calypso/Makefile b/src/target/firmware/calypso/Makefile
index 3a230f64..ef8a6a7a 100644
--- a/src/target/firmware/calypso/Makefile
+++ b/src/target/firmware/calypso/Makefile
@@ -1,17 +1,4 @@
-INCLUDES=-I../include/ -I../../../../include
--include ../Makefile.inc
-OBJS=arm.o clock.o dma.o dsp.o du.o i2c.o irq.o rtc.o spi.o tpu.o tsp.o keypad.o misc.o timer.o backlight.o uart.o uwire.o
-
-LST=$(OBJS:.o=.lst)
-
-all: libcalypso.a
-
-%.o: %.c
- $(CROSS_COMPILE)$(CC) $(CFLAGS) -c -o $@ $^
-
-libcalypso.a: $(OBJS)
- $(CROSS_COMPILE)$(AR) cru $@ $^
-
-clean:
- rm -f *.a $(OBJS) $(LST)
+LIBRARIES+=calypso
+calypso_DIR=calypso
+calypso_SRCS=arm.c clock.c dma.c dsp.c du.c i2c.c irq.c rtc.c spi.c tpu.c tsp.c keypad.c misc.c timer.c backlight.c uart.c uwire.c