summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkimg/Makefile
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-10-08 22:06:38 +0000
committermarcel <marcel@FreeBSD.org>2014-10-08 22:06:38 +0000
commit27db89ec695f2599ec2afd7010338235b49ea485 (patch)
tree4a5c3caf18e74c5aa5a5c8b7c5d6ab76e0f5a656 /usr.bin/mkimg/Makefile
parent951d95ff86579b104209f34d7a07ff6d997657f4 (diff)
downloadFreeBSD-src-27db89ec695f2599ec2afd7010338235b49ea485.zip
FreeBSD-src-27db89ec695f2599ec2afd7010338235b49ea485.tar.gz
MFC 272198, 272217:
Add 3 long options (--version, --formats & --schemes) for getting information about mkimg itself. Requested by: gjb Relnotes: yes
Diffstat (limited to 'usr.bin/mkimg/Makefile')
-rw-r--r--usr.bin/mkimg/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/mkimg/Makefile b/usr.bin/mkimg/Makefile
index 4e64aaa..bc7baed 100644
--- a/usr.bin/mkimg/Makefile
+++ b/usr.bin/mkimg/Makefile
@@ -4,6 +4,8 @@ PROG= mkimg
SRCS= format.c image.c mkimg.c scheme.c
MAN= mkimg.1
+MKIMG_VERSION=20140927
+CFLAGS+=-DMKIMG_VERSION=${MKIMG_VERSION}
CFLAGS+=-DSPARSE_WRITE
# List of formats to support
OpenPOWER on IntegriCloud