# HG changeset patch # User Space Falcon # Date 1428255544 0 # Node ID 2ab6e5aa2c36940cbc3d51a1327820932d898ed7 # Parent c23e0dfa5154cba2aa06ae3031132e775cf32acd aci_ext/aci_ext_pers.c compiles diff -r c23e0dfa5154 -r 2ab6e5aa2c36 gsm-fw/g23m-aci/aci_ext/Makefile --- 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 diff -r c23e0dfa5154 -r 2ab6e5aa2c36 gsm-fw/g23m-aci/aci_ext/aci_ext_pers.c --- 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; } - } +}