From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by mail.openembedded.org (Postfix) with ESMTP id D497177FC7 for ; Thu, 18 May 2017 21:54:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 410A920B54; Thu, 18 May 2017 21:54:58 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xepQPNx2xHBi; Thu, 18 May 2017 21:54:58 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 110E720756; Thu, 18 May 2017 21:54:55 +0000 (UTC) Received: by mail.denix.org (Postfix, from userid 1000) id 8ED051624C9; Thu, 18 May 2017 17:54:54 -0400 (EDT) Date: Thu, 18 May 2017 17:54:54 -0400 From: Denys Dmytriyenko To: Christopher Larson Message-ID: <20170518215454.GV28053@denix.org> References: <20170518173423.28994-1-enrico.scholz@sigma-chemnitz.de> <20170518181957.GU28053@denix.org> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Enrico Scholz , Patches and discussions about the oe-core layer Subject: Re: [PATCH] tzcode-native: quote ${CC} X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2017 21:54:59 -0000 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Thu, May 18, 2017 at 02:37:29PM -0700, Christopher Larson wrote: > On Thu, May 18, 2017 at 11:57 AM, Khem Raj wrote: > > > On Thu, May 18, 2017 at 11:19 AM, Denys Dmytriyenko > > 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 > > >> --- > > >> 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. > > Indeed, it’s expanded by bitbake, not the shell, so which quotes don’t > matter in that regard, and it’s syntactically cleaner to use different > quotes than those used for the variable as a whole. Unless ${CC} has shell variables inside for later expansion, isn't it? -- Denys