diff mbox

[v5,04/19] reproducible: enable fakedate

Message ID 1482241596-31688-5-git-send-email-jezz@sysmic.org
State Accepted
Commit 9eba09a48e4e69f084f29523b0f0f34f3305925d
Headers show

Commit Message

Jérôme Pouiller Dec. 20, 2016, 1:46 p.m. UTC
Enable fakedate for whole build process.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
---

Notes:
    v3:
      - Build host-fakedate before toolchain (Thomas)

 Makefile | 1 +
 1 file changed, 1 insertion(+)

Comments

Samuel Martin Feb. 7, 2017, 2:32 p.m. UTC | #1
Hi Jérôme, all,

On Tue, Dec 20, 2016 at 2:46 PM, Jérôme Pouiller <jezz@sysmic.org> wrote:
> Enable fakedate for whole build process.
>
> This work was sponsored by `BA Robotic Systems'.
>
> Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>

Reviewed-by: Samuel Martin <s.martin49@gmail.com>

> ---
>
> Notes:
>     v3:
>       - Build host-fakedate before toolchain (Thomas)
>
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Makefile b/Makefile
> index b80b9e1..ad7fde5 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -254,6 +254,7 @@ export LC_ALL = C
>  export GZIP = -n
>  BR2_VERSION_GIT_EPOCH = $(shell GIT_DIR=$(TOPDIR)/.git $(GIT) log -1 --format=%at)
>  export SOURCE_DATE_EPOCH = $(if $(wildcard $(TOPDIR)/.git),$(BR2_VERSION_GIT_EPOCH),$(BR2_VERSION_EPOCH))
> +DEPENDENCIES_HOST_PREREQ += host-fakedate
>  endif
>
>  # To put more focus on warnings, be less verbose as default
> --
> 1.9.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

Regards,
Peter Korsgaard Feb. 7, 2017, 10:01 p.m. UTC | #2
>>>>> "Jérôme" == Jérôme Pouiller <jezz@sysmic.org> writes:

 > Enable fakedate for whole build process.
 > This work was sponsored by `BA Robotic Systems'.

 > Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
 > ---

 > Notes:
 >     v3:
 >       - Build host-fakedate before toolchain (Thomas)

Committed, thanks.
diff mbox

Patch

diff --git a/Makefile b/Makefile
index b80b9e1..ad7fde5 100644
--- a/Makefile
+++ b/Makefile
@@ -254,6 +254,7 @@  export LC_ALL = C
 export GZIP = -n
 BR2_VERSION_GIT_EPOCH = $(shell GIT_DIR=$(TOPDIR)/.git $(GIT) log -1 --format=%at)
 export SOURCE_DATE_EPOCH = $(if $(wildcard $(TOPDIR)/.git),$(BR2_VERSION_GIT_EPOCH),$(BR2_VERSION_EPOCH))
+DEPENDENCIES_HOST_PREREQ += host-fakedate
 endif
 
 # To put more focus on warnings, be less verbose as default