# HG changeset patch
# User Space Falcon <falcon@ivan.Harhan.ORG>
# Date 1428256259 0
# Node ID c421163143a08f0054ee8895c3c91751ab8ac63b
# Parent  1e4dbee8dcfd38911c9796a0e16ab0c66ce64690
g23m-aci/ksd compiles

diff -r 1e4dbee8dcfd -r c421163143a0 gsm-fw/g23m-aci/ksd/Makefile
--- 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
diff -r 1e4dbee8dcfd -r c421163143a0 gsm-fw/g23m-aci/ksd/ksd.c
--- 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 ===================================================*/
diff -r 1e4dbee8dcfd -r c421163143a0 gsm-fw/g23m-aci/ksd/ksd_utl.c
--- 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 ===================================================*/