diff --git a/targets/Makefile.common b/targets/Makefile.common
index c959079b8fc874b153a6131a460b1dacf91f43a7..6a6245f03893d4a5fad2260f2a140ac2208f6c01 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