From: giwoong.kim Date: Thu, 12 Apr 2012 15:50:18 +0000 (+0900) Subject: [Title] pkginfo logging X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1638 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cca30bf040a762f850bda953c87a43011e0e532;p=sdk%2Femulator%2Fqemu.git [Title] pkginfo logging [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/tizen/src/Makefile b/tizen/src/Makefile index 83690cc044..660cffe9a5 100755 --- a/tizen/src/Makefile +++ b/tizen/src/Makefile @@ -27,6 +27,7 @@ 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 + @echo "const char pkginfo_version[] = \"`sed -n '2p' ./../../package/pkginfo.manifest`\";" >> build_info.h clean: cd ../../ && $(MAKE) clean diff --git a/tizen/src/emulator.c b/tizen/src/emulator.c index b74d6844ed..d4c6eafbf0 100644 --- a/tizen/src/emulator.c +++ b/tizen/src/emulator.c @@ -209,7 +209,8 @@ static void system_info(void) struct tm *tm_time; struct timeval tval; - INFO("* SDK version : %s\n", build_version); + INFO("* SDK Version : %s\n", build_version); + INFO("* Package %s\n", pkginfo_version); INFO("* User name : %s\n", g_get_real_name()); #ifdef _WIN32 INFO("* Host name : %s\n", g_get_host_name());