summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-16 17:53:58 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-16 17:57:27 (EDT)
commit5d6030abff6c80af2eaa5b13aa973405b65b3245 (patch)
tree8d3ff066f6b27d0f14a4e782147ba199fe955611 /build
parent332e1b446bc743b06e7e32fbb1116de24ee824f6 (diff)
build: Set KBUILD_BUILD_VERSION
This is normally incremented with each build by scripts/link-vmlinux.sh and then read by scripts/mkcompile_h.
Diffstat (limited to 'build')
-rwxr-xr-xbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/build b/build
index 657402c..4c22295 100755
--- a/build
+++ b/build
@@ -32,6 +32,7 @@ build:
oh-autobuild -T "$${img_src}" -- \
-j "$${JOBS:-$(JOBS)}" \
V=$(V) \
+ KBUILD_BUILD_VERSION=0 \
KBUILD_BUILD_TIMESTAMP="$$(TZ=UTC0 \
date -d '@$(SOURCE_DATE_EPOCH)' '+%Y-%m-%d')"; \
fi