Kaydet (Commit) 4e1dd613 authored tarafından Caolán McNamara's avatar Caolán McNamara

reduce callcatcher call post dmake death

Change-Id: I05a68199c606c815ab007cb662c0b29053eb3609
üst b458e734
...@@ -336,7 +336,7 @@ findunusedcode: ...@@ -336,7 +336,7 @@ findunusedcode:
@echo unexport CFLAGS >> $(SRCDIR)/config_host_callcatcher.mk @echo unexport CFLAGS >> $(SRCDIR)/config_host_callcatcher.mk
@echo unexport CXXFLAGS >> $(SRCDIR)/config_host_callcatcher.mk @echo unexport CXXFLAGS >> $(SRCDIR)/config_host_callcatcher.mk
@mkdir -p $(SRCDIR)/solenv/callcatcher/bin && \ @mkdir -p $(SRCDIR)/solenv/callcatcher/bin && \
@$(GNUMAKE) -f $(SOLARENV)/bin/callcatcher.Makefile findunusedcode $(GNUMAKE) -f $(SOLARENV)/bin/callcatcher.Makefile findunusedcode
@grep ::.*\( unusedcode.all \ @grep ::.*\( unusedcode.all \
| grep -v ^Atom \ | grep -v ^Atom \
| grep -v ^atom:: \ | grep -v ^atom:: \
......
...@@ -18,13 +18,6 @@ export AR:=callarchive ar ...@@ -18,13 +18,6 @@ export AR:=callarchive ar
else else
export AR:=callarchive $(AR) export AR:=callarchive $(AR)
endif endif
#old-school ones, can go post-gbuildification is complete
export LINK:=$(CXX)
ifeq ($(LIBMGR),)
export LIBMGR:=callarchive ar
else
export LIBMGR:=callarchive $(LIBMGR)
endif
export dbglevel:=2 export dbglevel:=2
include $(SOLARENV)/gbuild/gbuild.mk include $(SOLARENV)/gbuild/gbuild.mk
...@@ -33,9 +26,6 @@ findunusedcode: ...@@ -33,9 +26,6 @@ findunusedcode:
$(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.build $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.build
ooinstall -l $(DEVINSTALLDIR)/opt ooinstall -l $(DEVINSTALLDIR)/opt
$(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.build subsequentcheck $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.build subsequentcheck
callanalyse \ callanalyse $(WORKDIR)/LinkTarget/*/* > unusedcode.all
$(WORKDIR)/LinkTarget/*/* \
*/$(OUTPATH)/bin/* \
*/$(OUTPATH)/lib/* > unusedcode.all
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment