From 1cca30bf040a762f850bda953c87a43011e0e532 Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Fri, 13 Apr 2012 00:50:18 +0900 Subject: [PATCH] [Title] pkginfo logging [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- tizen/src/Makefile | 1 + tizen/src/emulator.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tizen/src/Makefile b/tizen/src/Makefile index 83690cc..660cffe 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 b74d684..d4c6eaf 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()); -- 2.7.4