changeset 778:ac329f4627ac

gsm-fw/g23m-aci/dti compiles into libdti.a
author Michael Spacefalcon <falcon@ivan.Harhan.ORG>
date Sat, 07 Mar 2015 23:00:01 +0000
parents 08f148c63220
children f54080301c98
files gsm-fw/g23m-aci/dti/Makefile gsm-fw/g23m-aci/dti/dti_int.c gsm-fw/g23m-aci/dti/dti_kerf.c gsm-fw/g23m-aci/dti/dti_kerp.c
diffstat 4 files changed, 26 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/dti/Makefile	Sat Mar 07 22:31:27 2015 +0000
+++ b/gsm-fw/g23m-aci/dti/Makefile	Sat Mar 07 23:00:01 2015 +0000
@@ -1,5 +1,18 @@
-# stub Makefile, to be filled out
-all:
+CC=	arm-elf-gcc
+AR=	arm-elf-ar
+RANLIB=	arm-elf-ranlib
+
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
+CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
+	-I../../cdginc
+
+OBJS=	dti_int.o dti_kerf.o dti_kerp.o
+
+all:	libdti.a
+
+libdti.a:	${OBJS}
+	${AR} cru $@ ${OBJS}
+	${RANLIB} $@
 
 clean:
 	rm -f *.[oa] *.out *errs
--- a/gsm-fw/g23m-aci/dti/dti_int.c	Sat Mar 07 22:31:27 2015 +0000
+++ b/gsm-fw/g23m-aci/dti/dti_int.c	Sat Mar 07 23:00:01 2015 +0000
@@ -27,6 +27,10 @@
 #define DTI_INT_C
 #endif
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 /*==== CONST =======================================================*/
 
 #include <string.h>
--- a/gsm-fw/g23m-aci/dti/dti_kerf.c	Sat Mar 07 22:31:27 2015 +0000
+++ b/gsm-fw/g23m-aci/dti/dti_kerf.c	Sat Mar 07 23:00:01 2015 +0000
@@ -27,6 +27,9 @@
 #define DTI_KERF_C
 #endif
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
 
 /*==== CONST =======================================================*/
 
--- a/gsm-fw/g23m-aci/dti/dti_kerp.c	Sat Mar 07 22:31:27 2015 +0000
+++ b/gsm-fw/g23m-aci/dti/dti_kerp.c	Sat Mar 07 23:00:01 2015 +0000
@@ -27,6 +27,10 @@
 #define DTI_KERP_C
 #endif
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #include <string.h>
 #include "typedefs.h"
 #include "pconst.cdg"