From 045f2854b296e90abfb532a89254c9c819655a27 Mon Sep 17 00:00:00 2001
From: winckel <winckel@eurecom.fr>
Date: Mon, 9 Dec 2013 15:36:15 +0000
Subject: [PATCH] Added FIRMWARE_VERSION definition in common makefile.

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

diff --git a/targets/Makefile.common b/targets/Makefile.common
index c959079b8fc..6a6245f0389 100644
--- a/targets/Makefile.common
+++ b/targets/Makefile.common
@@ -1,5 +1,7 @@
 # This file gathers compilation directive shared between lte-softmodem and oaisim
 
+CFLAGS				+= -D'FIRMWARE_VERSION="$(SVN_REV) - $(DATE_REV)"'
+
 ITTI_MESSAGES_H		= messages_xml.h
 ITTI_MESSAGES_XML	= messages.xml
 ITTI_MESSAGES_FILE	= $(ITTI_DIR)/intertask_interface_types.h
-- 
GitLab