diff options
author | Michal Marek <mmarek@suse.cz> | 2011-03-31 17:16:42 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-04-18 08:27:52 -0400 |
commit | a8b8017c34fefcb763d8b06c294b58d1c480b2e4 (patch) | |
tree | 61f638af2d7e5ad95990055414788f6f9c0a82dc /Documentation/kbuild/kbuild.txt | |
parent | 53e6892c0411006848882eacfcfea9e93681b55d (diff) |
initramfs: Use KBUILD_BUILD_TIMESTAMP for generated entries
gen_init_cpio gets the current time and uses it for each symlink,
special file, and directory. Grab the current time once and make it
possible to override it with the KBUILD_BUILD_TIMESTAMP variable for
reproducible builds.
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Documentation/kbuild/kbuild.txt')
-rw-r--r-- | Documentation/kbuild/kbuild.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/kbuild/kbuild.txt b/Documentation/kbuild/kbuild.txt index f11ebb33e4a6..646e2c114fff 100644 --- a/Documentation/kbuild/kbuild.txt +++ b/Documentation/kbuild/kbuild.txt | |||
@@ -205,7 +205,8 @@ gcc -W... options for more extensive build-time checking. | |||
205 | KBUILD_BUILD_TIMESTAMP | 205 | KBUILD_BUILD_TIMESTAMP |
206 | -------------------------------------------------- | 206 | -------------------------------------------------- |
207 | Setting this to a date string overrides the timestamp used in the | 207 | Setting this to a date string overrides the timestamp used in the |
208 | UTS_VERSION definition (uname -v in the running kernel). The default value | 208 | UTS_VERSION definition (uname -v in the running kernel). The value has to |
209 | be a string that can be passed to date -d. The default value | ||
209 | is the output of the date command at one point during build. | 210 | is the output of the date command at one point during build. |
210 | 211 | ||
211 | KBUILD_BUILD_USER, KBUILD_BUILD_HOST | 212 | KBUILD_BUILD_USER, KBUILD_BUILD_HOST |