summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/calypso/Makefile
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-02-18 16:46:36 +0100
committerHarald Welte <laforge@gnumonks.org>2010-02-18 16:46:36 +0100
commitfbe7b94c9c65f2df74acd5dff7503c9833ec2579 (patch)
tree5f47a597f2f396662719c5a76ac6bf26eda69f6c /src/target/firmware/calypso/Makefile
Initial import of OsmocomBB into git repository
Diffstat (limited to 'src/target/firmware/calypso/Makefile')
-rw-r--r--src/target/firmware/calypso/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/target/firmware/calypso/Makefile b/src/target/firmware/calypso/Makefile
new file mode 100644
index 00000000..a2be3cfa
--- /dev/null
+++ b/src/target/firmware/calypso/Makefile
@@ -0,0 +1,17 @@
+INCLUDES=-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
+
+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)