[Title] sdk version logging
authorgiwoong.kim <giwoong.kim@samsung.com>
Tue, 3 Apr 2012 12:43:02 +0000 (21:43 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Tue, 3 Apr 2012 14:37:22 +0000 (23:37 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/Makefile
tizen/src/build_info.h
tizen/src/emulator.c

index b7f46589087fddf502361654e0c085a5baf21fd3..29e02ac79e46e5412a30249fa90b35431559a8cf 100755 (executable)
@@ -25,6 +25,7 @@ endif
 endif
 build_info:
        @echo "/* Automatically generated by Makefile - do not modify! */" > build_info.h
+       @echo "const char build_version[] = \"`cat VERSION`\";" >> build_info.h
        @echo "const char build_date[] = \"`date +"%F %T %Z"`\";" >> build_info.h
 
 clean:
index 35684ceca256c67cedcb38bdd9457a181c0ee72b..f13965a7beb286d7f102730b28de5cd9b34207ba 100644 (file)
@@ -1,2 +1,3 @@
 /* Automatically generated by Makefile - do not modify! */
-const char build_date[] = "2012-04-03 21:02:38 KST";
+const char build_version[] = "1.0 pre4";
+const char build_date[] = "2012-04-03 21:40:04 KST";
index ca4f7734f7d96f4b7b10fe9d288f80c8a852ccff..976120ff916b9bb351462f83e0ca310f211ec9c2 100644 (file)
@@ -229,6 +229,7 @@ int main(int argc, char* argv[])
     extract_info(qemu_argc, qemu_argv);
 
     INFO("Emulator start !!!\n");
+    INFO("* SDK version : %s\n", build_version);
 
     /* timestamp */
     INFO("* Build date : %s\n", build_date);