david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Exclude bin directory from tags generation.

Create something that might be usable as a symbol list for bochs'
internal debugger.
This commit is contained in:
Michael Brown 2006-04-28 14:07:08 +00:00
parent d8e99bf28f
commit 084f6b18f7
1 changed files with 6 additions and 1 deletions

View File

@ -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