summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2021-08-05 20:18:04 +0000
committerRobert Mustacchi <rm@fingolfin.org>2021-08-10 16:02:41 -0700
commit12b9cfba7240ddd84e8bdba67d8df9c0bf9ffb76 (patch)
tree9e8818a3680076d9c761733ba79eb35b2f9bf1ea
parent5129ec5540641658a8117392986ba9828a893edc (diff)
downloadillumos-joyent-12b9cfba7240ddd84e8bdba67d8df9c0bf9ffb76.tar.gz
14002 Autogenerated dtrace.mapfile not cleaned up by clean nor clobber
Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Garrett D'Amore <garrett@damore.org>
-rw-r--r--usr/src/uts/Makefile.mapfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/uts/Makefile.mapfile b/usr/src/uts/Makefile.mapfile
index fb40e1cab9..9f27c27534 100644
--- a/usr/src/uts/Makefile.mapfile
+++ b/usr/src/uts/Makefile.mapfile
@@ -11,6 +11,7 @@
#
# Copyright 2016 Joyent, Inc.
+# Copyright 2021 Oxide Computer Company
#
#
@@ -41,3 +42,8 @@ DTRACE_AWK_FILE = $(MAPBASE)/dtrace.mapfile.awk
$(OBJS_DIR)/dtrace.mapfile: $(OBJECTS) $(DTRACE_AWK_FILE)
$(NM) -u $(OBJECTS) | $(AWK) -f $(DTRACE_AWK_FILE) > $@
+
+#
+# Make sure that we don't leave behind the DTrace related mapfiles.
+#
+CLEANFILES += $(DTRACE_MAPFILE)