From b7581f6a01e03ee2c8ee3ffd458fa06a00a61d70 Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Mon, 3 Sep 2012 22:33:06 +0900 Subject: [PATCH] [Title] print git head & maintainer [Type] enhancement [Module] Emulator / log [Priority] major [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- tizen/src/Makefile | 1 + tizen/src/emulator.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tizen/src/Makefile b/tizen/src/Makefile index 94c00de9b2..b90e55ac8a 100755 --- a/tizen/src/Makefile +++ b/tizen/src/Makefile @@ -33,6 +33,7 @@ build_info: @echo "const char build_date[] = \"`date +"%F %T %Z"`\";" >> build_info.h @echo "const char pkginfo_version[] = \"`sed -n '1p' ./../../package/pkginfo.manifest`\";" >> build_info.h @echo "const char pkginfo_maintainer[] = \"`sed -n '2p' ./../../package/pkginfo.manifest`\";" >> build_info.h + @echo "const char pkginfo_githead[] = \"`git rev-parse HEAD`\";" >> build_info.h ffmpeg: cd ../distrib/libav/ && $(MAKE) diff --git a/tizen/src/emulator.c b/tizen/src/emulator.c index f51fb85163..235ca1db8a 100644 --- a/tizen/src/emulator.c +++ b/tizen/src/emulator.c @@ -390,6 +390,8 @@ static void system_info(void) INFO("* SDK Version : %s\n", build_version); INFO("* Package %s\n", pkginfo_version); + INFO("* Package %s\n", pkginfo_maintainer); + INFO("* Git Head : %s\n", pkginfo_githead); INFO("* User name : %s\n", g_get_real_name()); INFO("* Host name : %s\n", g_get_host_name()); -- 2.34.1