|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 1/8] xen: calculate XEN_BUILD_TIME using XEN_BUILD_DATE value
On Wed, Jul 04, 2018 at 04:41:30PM +0100, Ian Jackson wrote:
> Daniel Kiper writes ("Re: [PATCH v2 1/8] xen: calculate XEN_BUILD_TIME using
> XEN_BUILD_DATE value"):
> > On Wed, Jul 04, 2018 at 02:58:17PM +0100, Ian Jackson wrote:
> > > export XEN_BUILD_POSIX_TIME ?= $(shell echo
> > > $${SOURCE_DATE_EPOCH-date +%s})
> >
> > OK, but what if SOURCE_DATE_EPOCH is not defined?
> > "date" command is not a good solution here.
>
> I don't understand why you think not. I think all the versions of
> date we care about will do something sensible with
> date +%s
>
> I don't have a FreeBSD host to hand to test, CC'ing Roger.
date +%s does indeed work fine on FreeBSD:
$ date +%s
1530719654
Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |