summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/makefile b/makefile
index 3fdd33b7d..7ba22a319 100644
--- a/makefile
+++ b/makefile
@@ -23,21 +23,37 @@
SUBDIRS = src.d
ROOTPATH = .
-EXTRA_PARTS = ${GENDIR}/hwp_id.html check_istep_modules cscope ctags
+IMAGE_PASS_BODY += $(GENDIR)/hwp_id.html $(IMGDIR)/hbotStringFile
+CLEAN_TARGETS += $(GENDIR)/hwp_id.html $(IMGDIR)/hbotStringFile
+IMAGE_PASS_BODY += cscope ctags check_istep_modules
include ./config.mk
+.PHONY: docs
docs: src/build/doxygen/doxygen.conf
rm -rf obj/doxygen/*
doxygen src/build/doxygen/doxygen.conf
+.PHONY: citest
citest:
src/build/citest/cxxtest-start.sh
+.PHONY: gcov
gcov:
rm -rf obj/gcov/*
- make gcov_pass
+ $(MAKE) gcov_pass
find obj/gcov/ -size 0c | xargs rm # Delete empty files.
genhtml obj/gcov/*.lcov -o obj/gcov/html
@echo "View GCOV results with: firefox obj/gcov/html/index.html"
+$(IMGDIR)/hbotStringFile : $(IMAGES)
+ $(ROOTPATH)/src/build/trace/tracehash_hb.pl -c -d $(ROOTPATH)/obj -s $@
+
+$(GENDIR)/hwp_id.html :
+ $(ROOTPATH)/src/build/tools/hwp_id.pl -i -l > $@
+
+.PHONY: check_istep_modules
+check_istep_modules: $(OBJS)
+ listdeps.pl $(IMGDIR) -v
+
+
OpenPOWER on IntegriCloud