[Skiboot] [PATCH] fix extract-gcov compilation when using a build directory
Cedric Le Goater
clg at fr.ibm.com
Wed May 20 16:15:45 AEST 2015
On 05/19/2015 11:56 PM, Stewart Smith wrote:
> 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)
I will do that.
C.
More information about the Skiboot
mailing list