]> git.ipfire.org Git - thirdparty/u-boot.git/commit - common/version.c
version: Separate our version string from the version command
authorTom Rini <trini@konsulko.com>
Thu, 26 Oct 2023 18:31:13 +0000 (14:31 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Nov 2023 19:48:19 +0000 (14:48 -0500)
commit54ecce2cbf9061b7ac8d348dde67200c765a2a15
tree9ae2aa4d23b2a7c6bd9e7cef23e46cfbbf5d226b
parent9f8b1508ca1f32fb9d383fa2db763146d6289e91
version: Separate our version string from the version command

In order to be able to disable all commands we need to construct our
version string in a common file, and have the version command reference
that string, like the other users of it do.  Create common/version.c
with just the strings.

Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/version.c
common/Makefile
common/version.c [new file with mode: 0644]