aboutsummaryrefslogtreecommitdiff
path: root/Makefile.main
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2015-05-19 16:05:44 +0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-20 07:51:46 +1000
commiteea244857f9ac32a87d40553b1b9369c13920c38 (patch)
treef396c2506d0195852a9dfed3e01092a4dab537f8 /Makefile.main
parent5bcc5599901276ead9200902827b9c674b2d711e (diff)
downloadskiboot-eea244857f9ac32a87d40553b1b9369c13920c38.zip
skiboot-eea244857f9ac32a87d40553b1b9369c13920c38.tar.gz
skiboot-eea244857f9ac32a87d40553b1b9369c13920c38.tar.bz2
fix extract-gcov compilation when using a build directory
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r--Makefile.main2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main
index e67d4cf..c655778 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -172,7 +172,7 @@ version.c: $(SRC)/make_version.sh $(OBJS_NO_VER) .version
include $(shell find $(SRC)/* -name Makefile.check)
extract-gcov: extract-gcov.c
- $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -O0 -g -I . -o $@ $<,$<)
+ $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -O0 -g -I$(SRC) -o $@ $<,$<)
coverage-report: skiboot.info
genhtml -q -o $@ $<