summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.symver.mk
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-10-18 15:21:35 +0000
committeryar <yar@FreeBSD.org>2007-10-18 15:21:35 +0000
commit51f94c87ade72ef476c0ae398c02f6939a54c584 (patch)
treeecd0d4c9182b84689e7a8c659af7698ec919b2d2 /share/mk/bsd.symver.mk
parent1af6ff1600411e207caf1f30b413f88e195dcc40 (diff)
downloadFreeBSD-src-51f94c87ade72ef476c0ae398c02f6939a54c584.zip
FreeBSD-src-51f94c87ade72ef476c0ae398c02f6939a54c584.tar.gz
Explicitly verify if we have found the VERSION_GEN script
instead of passing the possibly null argument to awk(1) and getting an obscure error from it.
Diffstat (limited to 'share/mk/bsd.symver.mk')
-rw-r--r--share/mk/bsd.symver.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/bsd.symver.mk b/share/mk/bsd.symver.mk
index 30a822e..7626274 100644
--- a/share/mk/bsd.symver.mk
+++ b/share/mk/bsd.symver.mk
@@ -34,6 +34,9 @@ _vgen= ${path}/${VERSION_GEN}
.endif
.endif
.endfor
+.if empty(_vgen)
+.error ${VERSION_GEN} not found in the search path.
+.endif
# Run the symbol maps through the C preprocessor before passing
# them to the symbol version generator.
OpenPOWER on IntegriCloud