[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 b7f4658..29e02ac 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 35684ce..f13965a 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 ca4f773..976120f 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);