summaryrefslogtreecommitdiffstats
path: root/sys/Makefile
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-05-28 19:52:01 +0000
committerjhb <jhb@FreeBSD.org>2014-05-28 19:52:01 +0000
commitca4db10be9ffce59fdb151ea121a923518045124 (patch)
tree9c421ddb336132cc5411fd0f816fbdf787d64b5f /sys/Makefile
parent6c648960e71ffac212557f6532e698a1ebb0bd27 (diff)
downloadFreeBSD-src-ca4db10be9ffce59fdb151ea121a923518045124.zip
FreeBSD-src-ca4db10be9ffce59fdb151ea121a923518045124.tar.gz
Add a temporary hack to change the various non-build related special
targets like 'cscope' and 'glimpse' to not depend on src.opts.mk or bsd.*.mk. Reviewed by: imp
Diffstat (limited to 'sys/Makefile')
-rw-r--r--sys/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/Makefile b/sys/Makefile
index fcb7e0a..8af56b8 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -1,11 +1,14 @@
# $FreeBSD$
+.if !(make(cscope) || make(cscope-clean) || make(cscope-hook) || make(TAGS) || \
+ make(glimpse) || make(glimpse-clean))
.include <src.opts.mk>
# The boot loader
.if ${MK_BOOT} != "no"
SUBDIR= boot
.endif
+.endif
# Directories to include in cscope name file and TAGS.
CSCOPEDIRS= boot bsm cam cddl compat conf contrib crypto ddb dev fs gdb \
OpenPOWER on IntegriCloud