changeset 820:c421163143a0

g23m-aci/ksd compiles
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 05 Apr 2015 17:50:59 +0000
parents 1e4dbee8dcfd
children 5c4381b80bd2
files gsm-fw/g23m-aci/ksd/Makefile gsm-fw/g23m-aci/ksd/ksd.c gsm-fw/g23m-aci/ksd/ksd_utl.c
diffstat 3 files changed, 23 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/ksd/Makefile	Sun Apr 05 17:44:25 2015 +0000
+++ b/gsm-fw/g23m-aci/ksd/Makefile	Sun Apr 05 17:50:59 2015 +0000
@@ -1,5 +1,16 @@
-# 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 -I../aci
+
+OBJS=	ksd.o ksd_utl.o
+
+all:	xipcode.o
+
+xipcode.o:	${OBJS}
+	${LD} -r -o $@ ${OBJS}
 
 clean:
 	rm -f *.[oa] *.out *errs
--- a/gsm-fw/g23m-aci/ksd/ksd.c	Sun Apr 05 17:44:25 2015 +0000
+++ b/gsm-fw/g23m-aci/ksd/ksd.c	Sun Apr 05 17:50:59 2015 +0000
@@ -22,6 +22,11 @@
 #define KSD_C
 #endif
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+#include "aci_conf.h"
+
 #include "aci_all.h"
 
 /*==== INCLUDES ===================================================*/
--- a/gsm-fw/g23m-aci/ksd/ksd_utl.c	Sun Apr 05 17:44:25 2015 +0000
+++ b/gsm-fw/g23m-aci/ksd/ksd_utl.c	Sun Apr 05 17:50:59 2015 +0000
@@ -23,6 +23,11 @@
 #define KSD_UTL_C
 #endif
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+#include "aci_conf.h"
+
 #include "aci_all.h"
 /*==== INCLUDES ===================================================*/