summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/hook/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc/hook/Makefile')
-rw-r--r--usr/src/uts/sparc/hook/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr/src/uts/sparc/hook/Makefile b/usr/src/uts/sparc/hook/Makefile
index 53a95c8d1b..c15b8ae613 100644
--- a/usr/src/uts/sparc/hook/Makefile
+++ b/usr/src/uts/sparc/hook/Makefile
@@ -21,7 +21,7 @@
#
# uts/sparc/hook/Makefile
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -82,6 +82,15 @@ clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
+sis_check: sis_check.obj
+sis_check.obj: $(ALL_DEPS)
+ @$(GREP) -v '#' $(MODULE).objt-symbols.obj64 |$(GREP) . |$(SORT) -u \
+ > $(MODULE).symbols.tmp
+ @$(NM) obj64/$(MODULE) |$(GREP) OBJT |$(GREP) -v UNDEF | \
+ $(CUT) -d'|' -f8 |$(GREP) -v '^___const_' |$(SORT) -u \
+ > $(MODULE).symbols.tmp.new
+ -@$(DIFF) $(MODULE).symbols.tmp $(MODULE).symbols.tmp.new
+
#
# Include common targets.
#