From e1486c3234b7dc6fc5b58681b271a65a09141e20 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Thu, 30 Oct 2014 17:41:51 -0700 Subject: futility: add version command BUG=none BRANCH=none TEST=manual make && ./build/futility/futility version Change-Id: I362b13d3befba62a33bc9fd2e87ad68f4bc62a84 Signed-off-by: Bill Richardson Reviewed-on: https://chromium-review.googlesource.com/226779 Reviewed-by: Randall Spangler --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2a3585ce..8dee03ce 100644 --- a/Makefile +++ b/Makefile @@ -1052,6 +1052,7 @@ ${FUTIL_CMD_LIST} ${FUTIL_STATIC_CMD_LIST}: ${Q}grep -hoRE '^DECLARE_FUTIL_COMMAND\([^,]+' $^ \ | sed 's/DECLARE_FUTIL_COMMAND(\(.*\)/_CMD(\1)/' \ | sort >>$@_commands + ${Q}./scripts/getversion.sh >> $@_t ${Q}echo '#define _CMD(NAME) extern const struct' \ 'futil_cmd_t __cmd_##NAME;' >> $@_t ${Q}cat $@_commands >> $@_t -- cgit v1.2.1