[OE-core] [PATCH] tzcode-native: quote ${CC}

Khem Raj raj.khem at gmail.com
Thu May 18 18:57:32 UTC 2017


On Thu, May 18, 2017 at 11:19 AM, Denys Dmytriyenko <denis at denix.org> wrote:
> On Thu, May 18, 2017 at 07:34:23PM +0200, Enrico Scholz wrote:
>> build fails else with
>>
>> | + make -j 8 -l 6 cc=ccache gcc
>> | make: *** No rule to make target 'gcc'.  Stop.
>>
>> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
>> ---
>>  meta/recipes-extended/tzcode/tzcode-native_2017b.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-extended/tzcode/tzcode-native_2017b.bb b/meta/recipes-extended/tzcode/tzcode-native_2017b.bb
>> index 2084f79..165d2c6 100644
>> --- a/meta/recipes-extended/tzcode/tzcode-native_2017b.bb
>> +++ b/meta/recipes-extended/tzcode/tzcode-native_2017b.bb
>> @@ -18,7 +18,7 @@ S = "${WORKDIR}"
>>
>>  inherit native
>>
>> -EXTRA_OEMAKE += "cc=${CC}"
>> +EXTRA_OEMAKE += "cc='${CC}'"
>
> Should these be double-quotes around ${CC}?

I think this should work as such.

>
>
>>  do_install () {
>>          install -d ${D}${bindir}/
>> --
>> 2.9.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list