From 129ccac0ae7901536452ec7796a9d3ad0cb11dab Mon Sep 17 00:00:00 2001 From: winckel <winckel@eurecom.fr> Date: Fri, 25 Oct 2013 08:48:48 +0000 Subject: [PATCH] Added a build option (DISABLE_XER_PRINT) to exclude some debug messages. Blocked dependencies on messages_xml.h when ITTI is not used. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4279 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/SIMU/USER/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/targets/SIMU/USER/Makefile b/targets/SIMU/USER/Makefile index d55319c128b..6ccc77752c8 100644 --- a/targets/SIMU/USER/Makefile +++ b/targets/SIMU/USER/Makefile @@ -161,7 +161,10 @@ endif CFLAGS += $(shell if [ `uname -o` = "Cygwin" ] ; then echo "-DCYGWIN" ;fi) -CFLAGS += -DENABLE_FXP -DOAI_EMU -DENABLE_USE_CPU_EXECUTION_TIME -DXER_PRINT +CFLAGS += -DENABLE_FXP -DOAI_EMU -DENABLE_USE_CPU_EXECUTION_TIME +ifndef DISABLE_XER_PRINT +CFLAGS += -DXER_PRINT +endif ifneq ($(USE_MME), R8) UPDATE_RELEASE_9=1 @@ -339,9 +342,11 @@ $(ITTI_MESSAGES_H): $(ITTI_MESSAGES_XML) @echo "Generating messages_xml.h ..." @sed -e 's/[ ]*//' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@ +ifdef ENABLE_ITTI $(OAISIM_OBJS): $(ITTI_MESSAGES_H) oaisim_pad.o: $(ITTI_MESSAGES_H) +endif $(OBJ) $(OAISIM_OBJS) $(OAISIM_PAD_OBJS) $(ASN1_MSG_OBJS1): %.o : %.c @echo Compiling $< -- GitLab