aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/common
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-12-19 14:40:59 +0000
committerEd Maste <emaste@FreeBSD.org>2016-12-19 14:40:59 +0000
commitbc814587a9d636c9b7f8cec4aa525854c589be13 (patch)
tree29d00b7cab96b363d89b0bc7eb48bd61d8acce46 /sys/boot/common
parent7f900be181e47fb29e085354ccf66c2ace85ef93 (diff)
Notes
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc
index a7e8ea75561b..51576929be83 100644
--- a/sys/boot/common/Makefile.inc
+++ b/sys/boot/common/Makefile.inc
@@ -71,3 +71,8 @@ CFLAGS+= -DBOOT_PROMPT_123
SRCS+= install.c
CFLAGS+=-I${.CURDIR}/../../../../lib/libstand
.endif
+
+CLEANFILES+= vers.c
+VERSION_FILE?= ${.CURDIR}/version
+vers.c: ${SRCTOP}/sys/boot/common/newvers.sh ${VERSION_FILE}
+ sh ${SRCTOP}/sys/boot/common/newvers.sh ${VERSION_FILE} ${NEWVERSWHAT}