mirror of https://github.com/ipxe/ipxe.git
Exclude bin directory from tags generation.
Create something that might be usable as a symbol list for bochs' internal debugger.pull/1/head
parent
d8e99bf28f
commit
084f6b18f7
|
@ -294,6 +294,10 @@ $(BIN)/%.tmp : $(BLIB) $(MAKEDEPS) $(LDSCRIPT)
|
||||||
$(BIN)/%.map : $(BIN)/%.tmp
|
$(BIN)/%.map : $(BIN)/%.tmp
|
||||||
@less $(BIN)/$*.tmp.map
|
@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
|
# Rules for each media format. These are generated and placed in an
|
||||||
# external Makefile fragment. We could do this via $(eval ...), but
|
# external Makefile fragment. We could do this via $(eval ...), but
|
||||||
# that would require make >= 3.80.
|
# that would require make >= 3.80.
|
||||||
|
@ -404,7 +408,8 @@ otherarchs :
|
||||||
TAGS : TAGS.$(ARCH)
|
TAGS : TAGS.$(ARCH)
|
||||||
|
|
||||||
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*
|
CLEANUP += TAGS*
|
||||||
|
|
||||||
# Symbol table checks
|
# Symbol table checks
|
||||||
|
|
Loading…
Reference in New Issue