[PATCH 1/4] Makefile: add buildsystem version variable
Sascha Hauer
s.hauer at pengutronix.de
Fri Sep 25 10:35:58 EDT 2020
On Wed, Sep 23, 2020 at 12:34:15PM +0200, Steffen Trumtrar wrote:
> Introduce a new variable to store a buildsystem version information.
> The exact information that is stored here (git commit, git tag,...) is
> defined by the buildsystem.
> It is intended to have the possibility to get information about the
> exact barebox binary, environment and configuration.
>
> The variable is utilized the same as KERNELVERSION for linux:
>
> make BUILDSYSTEM_VERSION=$COMMITISH
>
> Via scripts/mkcompile_h this information is injected into the barebox
> codebase.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
> ---
> Makefile | 3 ++-
> scripts/mkcompile_h | 3 +++
> 2 files changed, 5 insertions(+), 1 deletion(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list