55c81081e5
This patch adds the scripts/mkcompile_h from the Kernel. This gives us additional information about the build like who built this binary and with which compiler. Currently the only information used is the build timestamp and the generation number. This also fixes the build timestamp in the banner which is now correct even with consecutive builds without making clean in between. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
15 lines
277 B
C
15 lines
277 B
C
#include <common.h>
|
|
#include <generated/compile.h>
|
|
#include <generated/utsrelease.h>
|
|
|
|
const char version_string[] =
|
|
"barebox " UTS_RELEASE " " UTS_VERSION "\n";
|
|
|
|
|
|
void barebox_banner (void)
|
|
{
|
|
printf("\n\n%s\n\n", version_string);
|
|
printf("Board: " CONFIG_BOARDINFO "\n");
|
|
}
|
|
|