From d278d6196106e23d6530ca11f264d2c98038f4d3 Mon Sep 17 00:00:00 2001
From: thomasl <thomasl@eurecom.fr>
Date: Fri, 5 Dec 2014 17:26:06 +0000
Subject: [PATCH] fix file messages.xml generation that was not correct: the
 file is generated, but wrong content this is also why we have to launch twice
 the make command

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6180 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/Makefile.common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/Makefile.common b/targets/Makefile.common
index 7ed3ab5e69..16dd56d624 100644
--- a/targets/Makefile.common
+++ b/targets/Makefile.common
@@ -215,7 +215,7 @@ endif
 
 $(ITTI_MESSAGES_XML): $(ITTI_MESSAGES_FILE)
 	@echo "Generating messages.xml ..."
-	@gccxml $(COMMON_CFLAGS) $< -fxml=$@
+	@gccxml $(COMMON_CFLAGS) $< -fxml=$@ -I$(ITTI_DIR)
 	@$(CC) -MM $(COMMON_CFLAGS) $< > $(basename $@).d
 	@mv -f $(basename $@).d $(basename $@).d.tmp
 	@sed -e 's|.*:|$@:|' < $(basename $@).d.tmp > $(basename $@).d
-- 
GitLab