kumquat-buildroot/linux
Jean-Baptiste Trédez 10fc02b984 linux: generate KBUILD_BUILD_TIMESTAMP date whith LC_ALL=C
Fix kernel reproducible build if a non-C locale is used on the host
system.

When building the Linux kernel, scripts/gen_initramfs_list.sh does 'date
-d"$KBUILD_BUILD_TIMESTAMP" +%s'. In linux.mk, Buildroot sets
KBUILD_BUILD_TIMESTAMP to "$(shell date -d @$(SOURCE_DATE_EPOCH))".

For example, if LANG=fr_FR.UTF-8 is defined in the host system, it does
not work:

- LC_ALL=C date -d"$(LC_ALL=C date)" : ok
- LC_ALL=C date -d"$(LC_ALL=fr_FR.UTF-8 date)" : error

LANG/LC_ALL variables exported in the main Makefiles are not passed in
the $(shell ...) sub-shells.

Signed-off-by: Jean-Baptiste Trédez <jean-baptiste.tredez@basystemes.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-07 23:34:52 +01:00
..
0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional linux: add conditional patch for timeconst.pl 2016-02-10 08:12:57 +01:00
Config.ext.in linux: add ev3dev extension 2016-11-02 17:52:24 +01:00
Config.in linux: bump default to version 4.8.12 2016-12-02 17:02:46 +01:00
linux-ext-aufs.mk aufs: new kernel extension 2016-09-20 19:03:46 +02:00
linux-ext-ev3dev-linux-drivers.mk linux: add ev3dev extension 2016-11-02 17:52:24 +01:00
linux-ext-fbtft.mk linux: fix fbtft kernel extension 2015-04-09 23:26:16 +02:00
linux-ext-rtai.mk rtai: remove option BR2_LINUX_KERNEL_EXT_RTAI_PATCH 2015-04-22 22:12:15 +02:00
linux-ext-xenomai.mk linux: migrate extensions to use the new infrastructure 2015-04-09 23:00:01 +02:00
linux.mk linux: generate KBUILD_BUILD_TIMESTAMP date whith LC_ALL=C 2016-12-07 23:34:52 +01:00