changeset 780:286567fb2ab8

starting to compile ACI; ati_ext_mech.h is missing
author Michael Spacefalcon <falcon@ivan.Harhan.ORG>
date Sun, 08 Mar 2015 01:51:24 +0000
parents f54080301c98
children 8eea89c37047
files gsm-fw/g23m-aci/aci/Makefile gsm-fw/g23m-aci/aci/aci_aci.c gsm-fw/g23m-aci/aci/aci_conf.h
diffstat 3 files changed, 30 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/aci/Makefile	Sat Mar 07 23:55:47 2015 +0000
+++ b/gsm-fw/g23m-aci/aci/Makefile	Sun Mar 08 01:51:24 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=	aci_aci.o
+
+all:	${OBJS}
 
 clean:
 	rm -f *.[oa] *.out *errs
--- a/gsm-fw/g23m-aci/aci/aci_aci.c	Sat Mar 07 23:55:47 2015 +0000
+++ b/gsm-fw/g23m-aci/aci/aci_aci.c	Sun Mar 08 01:51:24 2015 +0000
@@ -22,6 +22,11 @@
 #ifndef ACI_ACI_C
 #define ACI_ACI_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+#include "aci_conf.h"
+
 #include "aci_all.h"
 
 #include "aci_cmh.h"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/g23m-aci/aci/aci_conf.h	Sun Mar 08 01:51:24 2015 +0000
@@ -0,0 +1,15 @@
+/*
+ * This header file is a FreeCalypso addition.  It serves a purpose similar to
+ * fixedconf.h and condat-features.h in gsm-fw/include, but this one is local
+ * to the ACI component.
+ */
+
+#define	DTI	1
+
+#if CONFIG_UI
+#define	MMI	2
+#define	MFW	1
+#else
+#define	MMI	0
+#define	ACI	1
+#endif