summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2006-04-28 16:07:08 +0200
committerMichael Brown2006-04-28 16:07:08 +0200
commit084f6b18f775958a2e69d68efbe4a9b364e6664f (patch)
tree04397f8cfa6af0dc1f30e2a2cb68397491492811 /src/Makefile.housekeeping
parentGave up on adding POSIX errno's as required, and just added (almost) all (diff)
downloadipxe-084f6b18f775958a2e69d68efbe4a9b364e6664f.tar.gz
ipxe-084f6b18f775958a2e69d68efbe4a9b364e6664f.tar.xz
ipxe-084f6b18f775958a2e69d68efbe4a9b364e6664f.zip
Exclude bin directory from tags generation.
Create something that might be usable as a symbol list for bochs' internal debugger.
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 2a950326..d35dc062 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -294,6 +294,10 @@ $(BIN)/%.tmp : $(BLIB) $(MAKEDEPS) $(LDSCRIPT)
$(BIN)/%.map : $(BIN)/%.tmp
@less $(BIN)/$*.tmp.map
+# Build bochs symbol table
+$(BIN)/%.bxs : $(BIN)/%.tmp
+ $(NM) $< | cut -d" " -f1,3 > $@
+
# Rules for each media format. These are generated and placed in an
# external Makefile fragment. We could do this via $(eval ...), but
# that would require make >= 3.80.
@@ -404,7 +408,8 @@ otherarchs :
TAGS : TAGS.$(ARCH)
TAGS.$(ARCH) :
- ctags -e -R -f $@ $(foreach ARCH,$(OTHER_ARCHS),--exclude=arch/$(ARCH))
+ ctags -e -R -f $@ --exclude=bin \
+ $(foreach ARCH,$(OTHER_ARCHS),--exclude=arch/$(ARCH))
CLEANUP += TAGS*
# Symbol table checks