Skip to content
Permalink
Browse files

BOOT_BANNER: show KERNEL_VERSION and BUILD_VERSION differently

Zephyr has two unrelated build _VERSIONs: KERNEL_VERSION and
BUILD_VERSION. Prefix them slightly differently in BOOT_BANNER so anyone
can instantly zoom in on which one is being used without having to
compare the implementation details of both.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information...
marc-hb authored and nashif committed Jun 17, 2019
1 parent 5efdd6a commit d4df6bade1033323fd5a665dfb36ad86cc5c266c
Showing with 2 additions and 2 deletions.
  1. +2 −2 kernel/init.c
@@ -50,10 +50,10 @@ LOG_MODULE_REGISTER(os);
#endif

#ifdef BUILD_VERSION
#define BOOT_BANNER "Booting Zephyr OS " \
#define BOOT_BANNER "Booting Zephyr OS build " \
STRINGIFY(BUILD_VERSION) BOOT_DELAY_BANNER
#else
#define BOOT_BANNER "Booting Zephyr OS " \
#define BOOT_BANNER "Booting Zephyr OS version " \
KERNEL_VERSION_STRING BOOT_DELAY_BANNER
#endif

0 comments on commit d4df6ba

Please sign in to comment.
You can’t perform that action at this time.