# HG changeset patch # User Michael Spacefalcon # Date 1407049080 0 # Node ID c7e53436c451ac0d21d97c30a935fc47c6d40188 # Parent cc584a357886e5da878899da95e710dbaf7b76f4 L1: starting to compile core C files diff -r cc584a357886 -r c7e53436c451 gsm-fw/L1/Makefile --- a/gsm-fw/L1/Makefile Sun Aug 03 06:29:53 2014 +0000 +++ b/gsm-fw/L1/Makefile Sun Aug 03 06:58:00 2014 +0000 @@ -1,4 +1,4 @@ -SUBDIR= cust0 +SUBDIR= cfile cust0 all: ${SUBDIR} diff -r cc584a357886 -r c7e53436c451 gsm-fw/L1/cfile/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/L1/cfile/Makefile Sun Aug 03 06:58:00 2014 +0000 @@ -0,0 +1,16 @@ +CC= arm-elf-gcc +CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \ + -I../tm_include -I../tm_cust0 -I../tpudrv +CFLAGS= -O2 -fno-builtin -mthumb-interwork +LD= arm-elf-ld + +IOBJS= +XOBJS= l1_afunc.o + +all: ${XOBJS} + +${XOBJS}: %.o : %.c + ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< + +clean: + rm -f *.[oa] *.out *errs diff -r cc584a357886 -r c7e53436c451 gsm-fw/L1/cfile/l1_afunc.c --- a/gsm-fw/L1/cfile/l1_afunc.c Sun Aug 03 06:29:53 2014 +0000 +++ b/gsm-fw/L1/cfile/l1_afunc.c Sun Aug 03 06:58:00 2014 +0000 @@ -9,8 +9,9 @@ #define L1_AFUNC_C +#include "config.h" +#include "l1_confg.h" #include "l1_macro.h" -#include "l1_confg.h" #if (CODE_VERSION == SIMULATION) #include @@ -84,7 +85,7 @@ #include "l1aac_defty.h" #endif #include "l1_defty.h" - #include "cust_os.h" + #include "../../gpf/inc/cust_os.h" #include "l1_msgty.h" #include "l1_varex.h" #include "l1_proto.h"