aboutsummaryrefslogtreecommitdiffstats
path: root/include/version.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-10-21 12:21:40 +0200
committerJo-Philipp Wich <jo@mein.io>2016-10-21 12:43:45 +0200
commit8cc922411561dfa6f65fbb492a7bdb6fb9bbb6d5 (patch)
tree9fc8a0c515525e0ba8f47e607e260e5d03425498 /include/version.mk
parent3b26a5bb15978914118a7958764f5c8079bf72f9 (diff)
downloadupstream-8cc922411561dfa6f65fbb492a7bdb6fb9bbb6d5.tar.gz
upstream-8cc922411561dfa6f65fbb492a7bdb6fb9bbb6d5.tar.bz2
upstream-8cc922411561dfa6f65fbb492a7bdb6fb9bbb6d5.zip
sdk: predefine SOURCE_DATE_EPOCH
When building packages within the SDK, there is no Git revision history available so prepopulate SOURCE_DATE_EPOCH in version.mk, similar to how we handle REVISION already. Acked-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include/version.mk')
-rw-r--r--include/version.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/version.mk b/include/version.mk
index b54eaab485..4beaca6460 100644
--- a/include/version.mk
+++ b/include/version.mk
@@ -8,6 +8,7 @@
# Substituted by SDK, do not remove
# REVISION:=x
+# SOURCE_DATE_EPOCH:=x
RELEASE:=Reboot