[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
@exit 1
endif
-all: qemu skin_client
+all: qemu skin_client build_info
qemu:
cd ../../ && $(MAKE)
skin_client:
endif
endif
endif
+build_info:
+ @echo "/* Automatically generated by Makefile - do not modify! */" > build_info.h
+ @echo "const char build_date[] = \"`date +"%F %T %Z"`\";" >> build_info.h
+
clean:
cd ../../ && $(MAKE) clean
distclean:
--- /dev/null
+/* Automatically generated by Makefile - do not modify! */
+const char build_date[] = "2012-04-03 21:02:38 KST";
#include "option.h"
#include "emul_state.h"
#include "qemu_socket.h"
+#include "build_info.h"
#include <glib.h>
#include <glib/gstdio.h>
INFO("Emulator start !!!\n");
/* timestamp */
+ INFO("* Build date : %s\n", build_date);
gettimeofday(&tval, NULL);
tm_time = localtime(&(tval.tv_sec));
strftime(timeinfo, sizeof(timeinfo), "%Y/%m/%d %H:%M:%S", tm_time);