From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp484.redcondor.net (smtp484.redcondor.net [208.80.204.84]) by mail.openembedded.org (Postfix) with ESMTP id 4908460685 for ; Sat, 10 Dec 2016 11:41:51 +0000 (UTC) Received: from astoria.ccjclearline.com ([64.235.106.9]) by smtp484.redcondor.net ({c48374e7-08df-40d9-a0de-96cc9883a037}) via TCP (outbound) with ESMTPS id 20161210114151268_0484 for ; Sat, 10 Dec 2016 11:41:51 +0000 X-RC-FROM: X-RC-RCPT: Received: from [174.118.92.171] (port=49970 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1cFg2D-0005dO-Hx for openembedded-core@lists.openembedded.org; Sat, 10 Dec 2016 06:41:45 -0500 Date: Sat, 10 Dec 2016 06:40:27 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: OE Core mailing list Message-ID: User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 X-MAG-OUTBOUND: ccj.redcondor.net@64.235.106.9/32 Subject: can "IMAGE_INSTALL ?= ..." not be written in a more obvious way? 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: Sat, 10 Dec 2016 11:41:52 -0000 Content-Type: text/plain; charset=US-ASCII i've nattered about this before but not sure i ever got an answer -- here's the last bit of core-image.bbclass: CORE_IMAGE_BASE_INSTALL = '\ packagegroup-core-boot \ packagegroup-base-extended \ \ ${CORE_IMAGE_EXTRA_INSTALL} \ ' CORE_IMAGE_EXTRA_INSTALL ?= "" IMAGE_INSTALL ?= "${CORE_IMAGE_BASE_INSTALL}" the first time i saw that (long ago), it took me a few looks to figure out what was happening. can this not be written in a more obvious way: CORE_IMAGE_BASE_INSTALL = '\ packagegroup-core-boot \ packagegroup-base-extended \ ' CORE_IMAGE_EXTRA_INSTALL ?= "" IMAGE_INSTALL ?= " \ ${CORE_IMAGE_BASE_INSTALL} \ ${CORE_IMAGE_EXTRA_INSTALL} \ " is that not equivalent, or am i missing something? it's certainly clearer as to what's happening if people are perusing the code. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================