# HG changeset patch # User Michael Spacefalcon # Date 1397377178 0 # Node ID 7228920a0834ae3525798440cef4266ce51f9739 # Parent d278439e905d586e0cbcf44b5845f53016a3c566 gsm-fw/gpf/tst_pei: objects compile diff -r d278439e905d -r 7228920a0834 gsm-fw/gpf/Makefile --- a/gsm-fw/gpf/Makefile Sun Apr 13 07:56:00 2014 +0000 +++ b/gsm-fw/gpf/Makefile Sun Apr 13 08:19:38 2014 +0000 @@ -1,4 +1,4 @@ -SUBDIR= frame misc +SUBDIR= frame misc tst_pei all: ${SUBDIR} diff -r d278439e905d -r 7228920a0834 gsm-fw/gpf/tst_pei/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/gpf/tst_pei/Makefile Sun Apr 13 08:19:38 2014 +0000 @@ -0,0 +1,12 @@ +SUBDIR= iram xip + +all: ${SUBDIR} + +${SUBDIR}: FRC + cd $@; ${MAKE} ${MFLAGS} + +clean: FRC + rm -f *.[oa] *.out *errs + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done + +FRC: diff -r d278439e905d -r 7228920a0834 gsm-fw/gpf/tst_pei/iram/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/gpf/tst_pei/iram/Makefile Sun Apr 13 08:19:38 2014 +0000 @@ -0,0 +1,11 @@ +CC= arm-elf-gcc +CFLAGS= -O2 -fno-builtin -mthumb-interwork +CPPFLAGS=-I../../inc -DRUN_INT_RAM +VPATH= .. + +OBJS= tst_pei.o + +all: ${OBJS} + +clean: + rm -f *.[oa] *errs diff -r d278439e905d -r 7228920a0834 gsm-fw/gpf/tst_pei/tst_pei.c --- a/gsm-fw/gpf/tst_pei/tst_pei.c Sun Apr 13 07:56:00 2014 +0000 +++ b/gsm-fw/gpf/tst_pei/tst_pei.c Sun Apr 13 08:19:38 2014 +0000 @@ -29,6 +29,9 @@ #include #include +#include "gpfconf.h" +#define _FF_RV_EXIST_ 1 + #ifdef _TOOLS_ #include "frame_const.h" #include @@ -40,7 +43,7 @@ #include "typedefs.h" #include "vsi.h" -#include "frame.h" +#include "../frame/frame.h" #include "pei.h" #include "os.h" #include "tools.h" @@ -49,7 +52,7 @@ #include "frm_defs.h" #include "frm_types.h" #include "frm_glob.h" -#include "route.h" +#include "../frame/route.h" #include "drvconf.h" #include "tstdriver.h" #include "tstheader.h" @@ -65,7 +68,7 @@ #endif #ifdef _FF_RV_EXIST_ - #include "ffs/ffs_api.h" + #include "../../services/ffs/ffs_api.h" #endif /*==== TYPES ======================================================*/ diff -r d278439e905d -r 7228920a0834 gsm-fw/gpf/tst_pei/tstdriver.c --- a/gsm-fw/gpf/tst_pei/tstdriver.c Sun Apr 13 07:56:00 2014 +0000 +++ b/gsm-fw/gpf/tst_pei/tstdriver.c Sun Apr 13 08:19:38 2014 +0000 @@ -24,8 +24,9 @@ /*==== INCLUDES ===================================================*/ -#include "string.h" +#include +#include "gpfconf.h" #include "typedefs.h" #include "os.h" #include "vsi.h" diff -r d278439e905d -r 7228920a0834 gsm-fw/gpf/tst_pei/xip/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/gpf/tst_pei/xip/Makefile Sun Apr 13 08:19:38 2014 +0000 @@ -0,0 +1,11 @@ +CC= arm-elf-gcc +CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb +CPPFLAGS=-I../../inc -DRUN_FLASH +VPATH= .. + +OBJS= tif_version.o tst_pei.o tstdriver.o + +all: ${OBJS} + +clean: + rm -f *.[oa] *errs