Added "make symcheck"
authorMichael Brown <mcb30@etherboot.org>
Sat, 23 Apr 2005 14:41:38 +0000 (14:41 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 23 Apr 2005 14:41:38 +0000 (14:41 +0000)
src/Makefile.housekeeping

index 0be389a..c8ad058 100644 (file)
@@ -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 :