mjpg-streamer: Fix build with ccache enabled.
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Fri, 27 Mar 2015 16:50:36 +0000 (17:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 27 Mar 2015 17:09:36 +0000 (18:09 +0100)
commit16359f0facbefd73179ffb9616594e0ebfbb5367
tree0cb96a834b2f2040b6ee132dcf287795136dd666
parentd13aa2f9e0c33c573fcf9d998475271910e73207
mjpg-streamer: Fix build with ccache enabled.

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@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mjpg-streamer/mjpg-streamer.mk