Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-23 Thread York Sun
On 08/22/2013 08:05 PM, Marek Vasut wrote: > Dear York Sun, > >> On 08/22/2013 12:36 PM, Marek Vasut wrote: >>> There is an env variable to configure separate ccache cache dir , so just >>> by setting that. But then , when each build ends, you would need to >>> clean it up somehow. It was mentione

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-22 Thread Marek Vasut
Dear York Sun, > On 08/22/2013 12:36 PM, Marek Vasut wrote: > > There is an env variable to configure separate ccache cache dir , so just > > by setting that. But then , when each build ends, you would need to > > clean it up somehow. It was mentioned in the discussion with the patch. > > You can

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-22 Thread York Sun
On 08/22/2013 12:36 PM, Marek Vasut wrote: > > There is an env variable to configure separate ccache cache dir , so just by > setting that. But then , when each build ends, you would need to clean it up > somehow. It was mentioned in the discussion with the patch. You can try > working > on th

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-22 Thread Marek Vasut
Dear sun york-R58495, > On Aug 21, 2013, at 10:45 PM, sun york-R58495 wrote: > > On Aug 21, 2013, at 10:02 PM, Marek Vasut wrote: > >> Dear sun york-R58495, > >> > >>> On Aug 21, 2013, at 7:51 PM, Marek Vasut wrote: > Dear York Sun, > > > On 05/20/2013 10:25 AM, Marek Vasut wrote:

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-21 Thread sun york-R58495
On Aug 21, 2013, at 10:45 PM, sun york-R58495 wrote: > > On Aug 21, 2013, at 10:02 PM, Marek Vasut wrote: > >> Dear sun york-R58495, >> >>> On Aug 21, 2013, at 7:51 PM, Marek Vasut wrote: Dear York Sun, > On 05/20/2013 10:25 AM, Marek Vasut wrote: >> Prefix HOSTCC and CC wit

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-21 Thread sun york-R58495
On Aug 21, 2013, at 10:02 PM, Marek Vasut wrote: > Dear sun york-R58495, > >> On Aug 21, 2013, at 7:51 PM, Marek Vasut wrote: >>> Dear York Sun, >>> On 05/20/2013 10:25 AM, Marek Vasut wrote: > Prefix HOSTCC and CC with CCACHE variable to allow easy use of ccache. > In case the use

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-21 Thread Marek Vasut
Dear sun york-R58495, > On Aug 21, 2013, at 7:51 PM, Marek Vasut wrote: > > Dear York Sun, > > > >> On 05/20/2013 10:25 AM, Marek Vasut wrote: > >>> Prefix HOSTCC and CC with CCACHE variable to allow easy use of ccache. > >>> In case the user wants to use ccache, exporting CCACHE=ccache will do >

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-21 Thread sun york-R58495
On Aug 21, 2013, at 7:51 PM, Marek Vasut wrote: > Dear York Sun, > >> On 05/20/2013 10:25 AM, Marek Vasut wrote: >>> Prefix HOSTCC and CC with CCACHE variable to allow easy use of ccache. >>> In case the user wants to use ccache, exporting CCACHE=ccache will do >>> the trick. It is of course pos

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-21 Thread Marek Vasut
Dear York Sun, > On 05/20/2013 10:25 AM, Marek Vasut wrote: > > Prefix HOSTCC and CC with CCACHE variable to allow easy use of ccache. > > In case the user wants to use ccache, exporting CCACHE=ccache will do > > the trick. It is of course possible to either make the cross-compiler > > name into a

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-21 Thread York Sun
On 05/20/2013 10:25 AM, Marek Vasut wrote: > Prefix HOSTCC and CC with CCACHE variable to allow easy use of ccache. > In case the user wants to use ccache, exporting CCACHE=ccache will do > the trick. It is of course possible to either make the cross-compiler > name into a shellscript which invokes