2011-12-16 12:15:44 +04:00
|
|
|
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <version.h>
|
|
|
|
|
|
|
|
/* Kernel name. If you change this, you're not
|
|
|
|
* my friend any more. */
|
|
|
|
char * __kernel_name = "toaru";
|
|
|
|
|
|
|
|
/* This really shouldn't change, and if it does,
|
|
|
|
* always ensure it still has the correct arguments
|
|
|
|
* when used as a vsprintf() format. */
|
|
|
|
char * __kernel_version_format = "%d.%d.%d-%s";
|
|
|
|
|
|
|
|
/* Version numbers X.Y.Z */
|
|
|
|
int __kernel_version_major = 0;
|
2014-04-19 07:40:25 +04:00
|
|
|
int __kernel_version_minor = 7;
|
|
|
|
int __kernel_version_lower = 0;
|
2011-12-16 12:15:44 +04:00
|
|
|
|
|
|
|
/* Kernel build suffix, which doesn't necessarily
|
|
|
|
* mean anything, but can be used to distinguish
|
|
|
|
* between different features included while
|
|
|
|
* building multiple kernels. */
|
2013-07-23 07:50:49 +04:00
|
|
|
char * __kernel_version_suffix = "dev";
|
2011-12-16 12:15:44 +04:00
|
|
|
|
|
|
|
/* The release codename.
|
|
|
|
*
|
|
|
|
* History:
|
2012-02-04 08:41:55 +04:00
|
|
|
* * 0.0.X+ are part of the "uiharu" family
|
2013-03-04 05:11:41 +04:00
|
|
|
* * 0.5.X+ branches make up the "neopolitan flavors" family.
|
|
|
|
* 0.5.0 is strawberry
|
2011-12-16 12:15:44 +04:00
|
|
|
*/
|
2013-03-04 05:11:41 +04:00
|
|
|
char * __kernel_version_codename = "strawberry";
|
2011-12-16 12:15:44 +04:00
|
|
|
|
|
|
|
/* Build architecture (should probably not be
|
|
|
|
* here as a string, but rather some sort of
|
|
|
|
* preprocessor macro, or pulled from a script) */
|
|
|
|
char * __kernel_arch = "i686";
|
|
|
|
|
|
|
|
/* Rebuild from clean to reset these. */
|
|
|
|
char * __kernel_build_date = __DATE__;
|
|
|
|
char * __kernel_build_time = __TIME__;
|
|
|
|
|
2013-06-06 10:10:36 +04:00
|
|
|
#if (defined(__GNUC__) || defined(__GNUG__)) && !(defined(__clang__) || defined(__INTEL_COMPILER))
|
|
|
|
# define COMPILER_VERSION "gcc " __VERSION__
|
|
|
|
#elif (defined(__clang__))
|
|
|
|
# define COMPILER_VERSION "clang " __clang_version__
|
|
|
|
#else
|
|
|
|
# define COMPILER_VERSION "unknown-compiler how-did-you-do-that"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
char * __kernel_compiler_version = COMPILER_VERSION;
|