kernel: include kernel version in boot banner

Make boot banner more informative by adding kernel version string

Change-Id: I21865ea3a001fba2c30fe58e6e052aae59fef3e2
Signed-off-by: Mahavir Jain <mjain@marvell.com>
This commit is contained in:
Mahavir Jain 2016-12-02 21:45:49 +05:30 committed by Anas Nashif
commit a636604cd5

View file

@ -33,6 +33,7 @@
#include <init.h>
#include <linker-defs.h>
#include <ksched.h>
#include <version.h>
/* kernel build timestamp items */
@ -44,7 +45,7 @@ const char * const build_timestamp = BUILD_TIMESTAMP;
/* boot banner items */
#define BOOT_BANNER "BOOTING ZEPHYR OS"
#define BOOT_BANNER "BOOTING ZEPHYR OS v" KERNEL_VERSION_STRING
#if !defined(CONFIG_BOOT_BANNER)
#define PRINT_BOOT_BANNER() do { } while (0)