[Buildroot] [PATCH 1/1] mjpg-streamer: Fix build with ccache enabled.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Mar 27 17:10:50 UTC 2015


Dear Nicolas Cavallari,

On Fri, 27 Mar 2015 17:50:36 +0100, Nicolas Cavallari wrote:
> Quote the TARGET_CC variable, otherwise, if ccache is enabled:
> 
> [...] make CC=$TARGET_CC [...]
> is expanded to e.g.
> [...] make CC=ccache gcc [...]
> 
> The build succeeds with "make[2]: Nothing to be done for '[...]gcc'".
> and the program is compiled at "make install" time, with the default
> host compiler, resulting in a binary that does not run on the target.
> 
> Signed-off-by: Nicolas Cavallari <nicolas.cavallari at green-communications.fr>
> ---
>  package/mjpg-streamer/mjpg-streamer.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list