Restore Zephyr version in banner, fix 'zephyr:BUILD_VERSION'

This fixes the banner which was recently added by SOF commit
a053e04d7e ("trace: add Zephyr git version to the initial FW ABI
banner")

  SHM: FW ABI ... tags SOF:v1.2.3 zephyr:zephyr-v3.0.0-346-g1470228eb10

... but was broken very soon after by Zephyr commit 91709778a487 ("cmake:
version.h generation performed at build time")

  SHM: FW ABI ... tags SOF:v1.2.3 zephyr:BUILD_VERSION

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2022-02-23 23:36:54 +00:00 committed by Liam Girdwood
parent de358701cf
commit e986bc66d0
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@
#include <user/abi_dbg.h>
#include <sof_versions.h>
#ifdef __ZEPHYR__
#include <version.h>
#endif
#include <errno.h>
#include <stddef.h>
#include <stdint.h>