linux: Use $SOURCE_DATE_EPOCH as the build timestamp
This commit is contained in:
@@ -102,7 +102,8 @@ let
|
||||
make $makeFlags "''${makeFlagsArray[@]}" oldconfig
|
||||
runHook postConfigure
|
||||
|
||||
buildFlagsArray+=("KBUILD_BUILD_TIMESTAMP=Thu Jan 1 00:00:01 UTC 1970")
|
||||
# Note: we can get rid of this once http://permalink.gmane.org/gmane.linux.kbuild.devel/13800 is merged.
|
||||
buildFlagsArray+=("KBUILD_BUILD_TIMESTAMP=$(date -u -d @$SOURCE_DATE_EPOCH)")
|
||||
'';
|
||||
|
||||
buildFlags = [
|
||||
|
||||
Reference in New Issue
Block a user