* [ptxdist] Kernel serial number
@ 2016-09-08 9:13 Wim Vinckier
2016-09-08 12:28 ` Michael Olbrich
0 siblings, 1 reply; 3+ messages in thread
From: Wim Vinckier @ 2016-09-08 9:13 UTC (permalink / raw)
To: ptxdist
Hi,
I'm wondering what I have to do to set my kernel version to the
current date. When I compile the kernel outside ptx it has the
current date with even the git hash but that doesn't seem to work when
compiling my kernel within ptx. Any suggestion?
Kind regards,
wim.
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Kernel serial number
2016-09-08 9:13 [ptxdist] Kernel serial number Wim Vinckier
@ 2016-09-08 12:28 ` Michael Olbrich
2016-09-08 12:58 ` wim vinckier
0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2016-09-08 12:28 UTC (permalink / raw)
To: ptxdist
Hi,
On Thu, Sep 08, 2016 at 11:13:22AM +0200, Wim Vinckier wrote:
> I'm wondering what I have to do to set my kernel version to the
> current date. When I compile the kernel outside ptx it has the
> current date with even the git hash but that doesn't seem to work when
> compiling my kernel within ptx. Any suggestion?
You mean the build timestamp, right? That's deliberate to keep the
differences of two builds with any BSP changes as small as possible. See
rules/kernel.make:
[...]
KBUILD_BUILD_TIMESTAMP="$(PTXDIST_VERSION_YEAR)-$(PTXDIST_VERSION_MONTH)-01"
[...]
This is currently not configurable.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Kernel serial number
2016-09-08 12:28 ` Michael Olbrich
@ 2016-09-08 12:58 ` wim vinckier
0 siblings, 0 replies; 3+ messages in thread
From: wim vinckier @ 2016-09-08 12:58 UTC (permalink / raw)
To: ptxdist
Hi,
On 8 September 2016 at 14:28, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
> Hi,
>
> On Thu, Sep 08, 2016 at 11:13:22AM +0200, Wim Vinckier wrote:
>> I'm wondering what I have to do to set my kernel version to the
>> current date. When I compile the kernel outside ptx it has the
>> current date with even the git hash but that doesn't seem to work when
>> compiling my kernel within ptx. Any suggestion?
>
> You mean the build timestamp, right? That's deliberate to keep the
> differences of two builds with any BSP changes as small as possible. See
> rules/kernel.make:
> [...]
> KBUILD_BUILD_TIMESTAMP="$(PTXDIST_VERSION_YEAR)-$(PTXDIST_VERSION_MONTH)-01"
> [...]
>
> This is currently not configurable.
>
> Michael
>
Yes, that's the one I was referring to. Good to know there is a place
where I can find it. :-D
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-08 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 9:13 [ptxdist] Kernel serial number Wim Vinckier
2016-09-08 12:28 ` Michael Olbrich
2016-09-08 12:58 ` wim vinckier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox