diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 972ac52814..3213b932bf 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -288,7 +288,7 @@ kernel_do_compile() { | |||
288 | if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then | 288 | if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then |
289 | # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not | 289 | # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not |
290 | # be set.... | 290 | # be set.... |
291 | if [ "$SOURCE_DATE_EPOCH" = "0" ]; then | 291 | if [ "${SOURCE_DATE_EPOCH}" = "" -o "${SOURCE_DATE_EPOCH}" = "0" ]; then |
292 | olddir=`pwd` | 292 | olddir=`pwd` |
293 | cd ${S} | 293 | cd ${S} |
294 | SOURCE_DATE_EPOCH=`git log -1 --pretty=%ct` | 294 | SOURCE_DATE_EPOCH=`git log -1 --pretty=%ct` |