# HG changeset patch # User Michael Spacefalcon # Date 1425769201 0 # Node ID ac329f4627ac16dfedb843ed39ae4ccc43afe02c # Parent 08f148c632206ddff6094a6e7b090b658b312534 gsm-fw/g23m-aci/dti compiles into libdti.a diff -r 08f148c63220 -r ac329f4627ac gsm-fw/g23m-aci/dti/Makefile --- 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 diff -r 08f148c63220 -r ac329f4627ac gsm-fw/g23m-aci/dti/dti_int.c --- 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 diff -r 08f148c63220 -r ac329f4627ac gsm-fw/g23m-aci/dti/dti_kerf.c --- 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 =======================================================*/ diff -r 08f148c63220 -r ac329f4627ac gsm-fw/g23m-aci/dti/dti_kerp.c --- 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 #include "typedefs.h" #include "pconst.cdg"