changeset 818:2ab6e5aa2c36

aci_ext/aci_ext_pers.c compiles
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 05 Apr 2015 17:39:04 +0000
parents c23e0dfa5154
children 1e4dbee8dcfd
files gsm-fw/g23m-aci/aci_ext/Makefile gsm-fw/g23m-aci/aci_ext/aci_ext_pers.c
diffstat 2 files changed, 20 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/aci_ext/Makefile	Sun Apr 05 08:38:10 2015 +0000
+++ b/gsm-fw/g23m-aci/aci_ext/Makefile	Sun Apr 05 17:39:04 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 -I../aci
+
+ONE_OBJ=aci_ext_pers.o
+
+all:	${ONE_OBJ}
 
 clean:
 	rm -f *.[oa] *.out *errs
--- a/gsm-fw/g23m-aci/aci_ext/aci_ext_pers.c	Sun Apr 05 08:38:10 2015 +0000
+++ b/gsm-fw/g23m-aci/aci_ext/aci_ext_pers.c	Sun Apr 05 17:39:04 2015 +0000
@@ -17,6 +17,12 @@
 |  Purpose :
 +-----------------------------------------------------------------------------
 */
+
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+#include "aci_conf.h"
+
 #include "aci_all.h"
 
 #include "aci_cmh.h"
@@ -57,7 +63,7 @@
 #endif
 
 #ifdef ACI_PERSONALISTION_USE_FFS
-#include "ffs/ffs.h"
+#include "../../services/ffs/ffs.h"
 #include "ffs_coat.h"
 #endif /* ACI_PERSONALISTION_USE_FFS */
 
@@ -182,7 +188,7 @@
           AciSLockShrd.dependency[lock_type]=personalisation_sim->Header.Dependency;
         }
         break;
-		
+
        case SIMLOCK_BLOCKED_NETWORK:		
            status =sec_get_REC (lock_type, &personalisation_bnw); 
             if (status NEQ SEC_DRV_RET_Ok)
@@ -323,7 +329,7 @@
 T_SIMLOCK_STATUS aci_ext_personalisation_get_status( T_SIMLOCK_TYPE personalisation_type )
 {
   TRACE_FUNCTION("aci_ext_personalisation_get_status()");
-  #ifdef SIM_PERS
+#ifdef SIM_PERS
   switch (personalisation_type)
   {
     case SIMLOCK_FIRST_SIM: /* should not occour */
@@ -566,7 +572,7 @@
            return OPER_FAIL;
    }
 
-  }
+}