diff options
author | Tom Rini | 2023-10-26 14:31:13 -0400 |
---|---|---|
committer | Tom Rini | 2023-11-07 14:48:19 -0500 |
commit | 54ecce2cbf9061b7ac8d348dde67200c765a2a15 (patch) | |
tree | 9ae2aa4d23b2a7c6bd9e7cef23e46cfbbf5d226b /common/Makefile | |
parent | 9f8b1508ca1f32fb9d383fa2db763146d6289e91 (diff) |
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>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index cdeadf72026..b711dc29b65 100644 --- a/common/Makefile +++ b/common/Makefile @@ -10,6 +10,7 @@ obj-y += main.o obj-y += exports.o obj-$(CONFIG_HUSH_PARSER) += cli_hush.o obj-$(CONFIG_AUTOBOOT) += autoboot.o +obj-y += version.o # # boards obj-y += board_f.o |