summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 0be389ad..c8ad0585 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -398,6 +398,15 @@ TAGS.$(ARCH) :
ctags -e -R -f $@ $(foreach ARCH,$(OTHER_ARCHS),--exclude=arch/$(ARCH))
CLEANUP += TAGS*
+# Symbol table checks
+#
+SYMTAB = $(BIN)/symtab
+$(SYMTAB) : $(BLIB)
+ $(NM) -o -g $< > $@
+
+symcheck : $(SYMTAB)
+ $(SYMCHECK) $<
+
# Force rebuild for any given target
#
$(BIN)/%.rebuild :