Bug 8396

Summary: CCACHE initialization
Product: buildroot Reporter: sv99 <sv99>
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: minor CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Host: Target:
Build:
Attachments: patch

Description sv99 2015-10-13 07:50:54 UTC
In the Makefile 

372: ifeq ($(BR2_CCACHE),y)
373    CCACHE := $(HOST_DIR)/usr/bin/ccache

$(HOST_DIR) ???
Comment 1 sv99 2015-10-13 07:52:27 UTC
ccache worked, but wery long output - in each line full path to the
Comment 2 sv99 2015-10-13 07:55:57 UTC
Created attachment 6181 [details]
patch
Comment 3 Thomas Petazzoni 2015-10-13 08:06:20 UTC
Thanks for your bug report.

However, your patch is incorrect: we don't want to use /usr/bin/ccache, but the ccache that Buildroot builds in $(HOST_DIR). So the current code is perfectly correct.

HOST_DIR is defined in the main Makefile:

HOST_DIR := $(BASE_DIR)/host

If you have an issue with the ccache support, could you instead report 1/ the Buildroot configuration you've used and 2/ the last ~100 lines of build output. This way we can see if there is indeed something broken in Buildroot or some other issue.