[Skiboot] [PATCH] fix extract-gcov compilation when using a build directory

Stewart Smith stewart at linux.vnet.ibm.com
Wed May 20 07:56:56 AEST 2015


Cédric Le Goater <clg at fr.ibm.com> writes:
> Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
> ---
>  Makefile.main |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: skiboot.git/Makefile.main
> ===================================================================
> --- skiboot.git.orig/Makefile.main
> +++ skiboot.git/Makefile.main
> @@ -172,7 +172,7 @@ version.c: $(SRC)/make_version.sh $(OBJS
>  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 $@ $<

Thanks, applied!

(In other news, you're probably the only one using a build directory.. I
should probably add a test somewhere for that)



More information about the Skiboot mailing list