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:
parent
5387413c3e
commit
a636604cd5
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue