summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-10-14 12:46:26 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-14 12:46:26 +0200
commit2da2a9c583775e966e940a21016309ca661979f5 (patch)
tree383b5dd6a5d37b5698e4a8c8ab666ef243638348 /scripts
parentea7fdd5f550a63f45a90f76cb1ac1e1eeecffe00 (diff)
parent01b53d3b728073996e7e7c1f308a2bf79f0ae609 (diff)
downloadbarebox-2da2a9c583775e966e940a21016309ca661979f5.tar.gz
barebox-2da2a9c583775e966e940a21016309ca661979f5.tar.xz
Merge branch 'for-next/buildsystem-version' into master
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkcompile_h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 60b20cafc6..49aadc153d 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -54,6 +54,7 @@ fi
UTS_VERSION="#$VERSION"
CONFIG_FLAGS=""
UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP"
+BUILDSYSTEM_VERSION="$BUILDSYSTEM_VERSION"
# Truncate to maximum length
@@ -69,6 +70,8 @@ UTS_TRUNCATE="cut -b -$UTS_LEN"
echo \#define UTS_VERSION \"`echo $UTS_VERSION | $UTS_TRUNCATE`\"
+ echo \#define BUILDSYSTEM_VERSION \"`echo $BUILDSYSTEM_VERSION`\"
+
echo \#define BAREBOX_COMPILE_BY \"`echo $BAREBOX_COMPILE_BY | $UTS_TRUNCATE`\"
echo \#define BAREBOX_COMPILE_HOST \"`echo $BAREBOX_COMPILE_HOST | $UTS_TRUNCATE`\"