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>
This commit is contained in:
parent
5efdd6a525
commit
d4df6bade1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue