mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
897a1d947e
Signed-off-by: Tom Rini <trini@konsulko.com>
15 lines
439 B
C
15 lines
439 B
C
// SPDX-License-Identifier: MIT
|
|
/*
|
|
* Copyright (C) 2017 The Android Open Source Project
|
|
*/
|
|
|
|
#include "avb_version.h"
|
|
|
|
#define AVB_QUOTE(str) #str
|
|
#define AVB_EXPAND_AND_QUOTE(str) AVB_QUOTE(str)
|
|
|
|
/* Keep in sync with get_release_string() in avbtool. */
|
|
const char* avb_version_string(void) {
|
|
return AVB_EXPAND_AND_QUOTE(AVB_VERSION_MAJOR) "." AVB_EXPAND_AND_QUOTE(
|
|
AVB_VERSION_MINOR) "." AVB_EXPAND_AND_QUOTE(AVB_VERSION_SUB);
|
|
}
|