reduce callcatcher call post dmake death
Change-Id: I05a68199c606c815ab007cb662c0b29053eb3609
This commit is contained in:
parent
b458e734fd
commit
4e1dd61364
2 changed files with 2 additions and 12 deletions
|
@ -336,7 +336,7 @@ findunusedcode:
|
|||
@echo unexport CFLAGS >> $(SRCDIR)/config_host_callcatcher.mk
|
||||
@echo unexport CXXFLAGS >> $(SRCDIR)/config_host_callcatcher.mk
|
||||
@mkdir -p $(SRCDIR)/solenv/callcatcher/bin && \
|
||||
@$(GNUMAKE) -f $(SOLARENV)/bin/callcatcher.Makefile findunusedcode
|
||||
$(GNUMAKE) -f $(SOLARENV)/bin/callcatcher.Makefile findunusedcode
|
||||
@grep ::.*\( unusedcode.all \
|
||||
| grep -v ^Atom \
|
||||
| grep -v ^atom:: \
|
||||
|
|
|
@ -18,13 +18,6 @@ export AR:=callarchive ar
|
|||
else
|
||||
export AR:=callarchive $(AR)
|
||||
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
|
||||
|
||||
include $(SOLARENV)/gbuild/gbuild.mk
|
||||
|
@ -33,9 +26,6 @@ findunusedcode:
|
|||
$(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.build
|
||||
ooinstall -l $(DEVINSTALLDIR)/opt
|
||||
$(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.build subsequentcheck
|
||||
callanalyse \
|
||||
$(WORKDIR)/LinkTarget/*/* \
|
||||
*/$(OUTPATH)/bin/* \
|
||||
*/$(OUTPATH)/lib/* > unusedcode.all
|
||||
callanalyse $(WORKDIR)/LinkTarget/*/* > unusedcode.all
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
Loading…
Reference in a new issue