diff options
Diffstat (limited to 'include/version.h')
-rw-r--r-- | include/version.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/version.h b/include/version.h new file mode 100644 index 0000000..2d24451 --- /dev/null +++ b/include/version.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * (C) Copyright 2000-2006 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de. + */ + +#ifndef __VERSION_H__ +#define __VERSION_H__ + +#include <timestamp.h> + +#ifndef DO_DEPS_ONLY +#include "generated/version_autogenerated.h" +#endif + +#define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \ + U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING + +#ifndef __ASSEMBLY__ +extern const char version_string[]; +#endif /* __ASSEMBLY__ */ +#endif /* __VERSION_H__ */ |