Commit 129ccac0 authored by winckel's avatar winckel

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
parent 241d686e
...@@ -161,7 +161,10 @@ endif ...@@ -161,7 +161,10 @@ endif
CFLAGS += $(shell if [ `uname -o` = "Cygwin" ] ; then echo "-DCYGWIN" ;fi) 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) ifneq ($(USE_MME), R8)
UPDATE_RELEASE_9=1 UPDATE_RELEASE_9=1
...@@ -339,9 +342,11 @@ $(ITTI_MESSAGES_H): $(ITTI_MESSAGES_XML) ...@@ -339,9 +342,11 @@ $(ITTI_MESSAGES_H): $(ITTI_MESSAGES_XML)
@echo "Generating messages_xml.h ..." @echo "Generating messages_xml.h ..."
@sed -e 's/[ ]*//' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@ @sed -e 's/[ ]*//' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@
ifdef ENABLE_ITTI
$(OAISIM_OBJS): $(ITTI_MESSAGES_H) $(OAISIM_OBJS): $(ITTI_MESSAGES_H)
oaisim_pad.o: $(ITTI_MESSAGES_H) oaisim_pad.o: $(ITTI_MESSAGES_H)
endif
$(OBJ) $(OAISIM_OBJS) $(OAISIM_PAD_OBJS) $(ASN1_MSG_OBJS1): %.o : %.c $(OBJ) $(OAISIM_OBJS) $(OAISIM_PAD_OBJS) $(ASN1_MSG_OBJS1): %.o : %.c
@echo Compiling $< @echo Compiling $<
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment