changeset 844:55b3de755b7a

starting to compile cst
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 25 Apr 2015 20:11:08 +0000
parents 7666dd5df2bc
children 21247e7d0b8d
files gsm-fw/g23m-glue/cst/Makefile gsm-fw/g23m-glue/cst/cst_csf.c
diffstat 2 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-glue/cst/Makefile	Sat Apr 25 19:49:37 2015 +0000
+++ b/gsm-fw/g23m-glue/cst/Makefile	Sat Apr 25 20:11:08 2015 +0000
@@ -1,5 +1,13 @@
-# stub Makefile, to be filled out
-all:
+CC=	arm-elf-gcc
+LD=	arm-elf-ld
+
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
+CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
+	-I../../cdginc
+
+OBJS=	cst_csf.o
+
+all:	${OBJS}
 
 clean:
 	rm -f *.[oa] *.out *errs
--- a/gsm-fw/g23m-glue/cst/cst_csf.c	Sat Apr 25 19:49:37 2015 +0000
+++ b/gsm-fw/g23m-glue/cst/cst_csf.c	Sat Apr 25 20:11:08 2015 +0000
@@ -17,10 +17,9 @@
 #define CST_CSF_C
 #endif
 
-
-#include "config/swconfig.cfg"
-#include "config/board.cfg"
-
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
 
 #define ENTITY_CST
 
@@ -31,7 +30,7 @@
 #include "vsi.h"
 #include "gsm.h"
 #include "p_cst.h"
-#include "cst/cst.h"
+#include "cst.h"
 
 /*==== CONSTANTS ==================================================*/
 
@@ -213,6 +212,3 @@
   // Dummy function
 }
 #endif
-
-
-