# HG changeset patch # User Michael Spacefalcon # Date 1409766129 0 # Node ID b039cafc8e31702a3e203d99fe9417a6997109e0 # Parent e60f51f747f52fe63c4eb923cc1e16badebb4634 PCM integration: linking diff -r e60f51f747f5 -r b039cafc8e31 gsm-fw/finlink/Makefile --- a/gsm-fw/finlink/Makefile Wed Sep 03 17:31:21 2014 +0000 +++ b/gsm-fw/finlink/Makefile Wed Sep 03 17:42:09 2014 +0000 @@ -35,6 +35,9 @@ INT_PIECES+= ../L1/iramcode.o EXT_PIECES+= ../L1/xipcode.o endif +ifeq (${CONFIG_INCLUDE_PCM},1) +EXT_PIECES+= ../services/pcm/xipcode.o +endif ifeq (${RVM_ETM_SWE},1) EXT_PIECES+= ../services/etm/xipcode.o endif diff -r e60f51f747f5 -r b039cafc8e31 gsm-fw/services/Makefile --- a/gsm-fw/services/Makefile Wed Sep 03 17:31:21 2014 +0000 +++ b/gsm-fw/services/Makefile Wed Sep 03 17:42:09 2014 +0000 @@ -1,8 +1,11 @@ sinclude ../include/config.mk -ALL_SUBDIR= dar etm ffs +ALL_SUBDIR= dar etm ffs pcm BUILD_SUBDIR= dar ffs +ifeq (${CONFIG_INCLUDE_PCM},1) +BUILD_SUBDIR+= pcm +endif ifeq (${RVM_ETM_SWE},1) BUILD_SUBDIR+= etm endif diff -r e60f51f747f5 -r b039cafc8e31 gsm-fw/services/pcm/Makefile --- a/gsm-fw/services/pcm/Makefile Wed Sep 03 17:31:21 2014 +0000 +++ b/gsm-fw/services/pcm/Makefile Wed Sep 03 17:42:09 2014 +0000 @@ -6,9 +6,12 @@ HDRS= pcm.h -all: ${OBJS} +all: xipcode.o ${OBJS}: ${HDRS} +xipcode.o: ${OBJS} + ${LD} -r -o $@ ${OBJS} + clean: rm -f *.[oa] *errs