From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 7032C6013D for ; Fri, 13 Mar 2015 16:00:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t2DG0TV1017330; Fri, 13 Mar 2015 16:00:29 GMT Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YkXS3HVN5DGH; Fri, 13 Mar 2015 16:00:29 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t2DG0Fmk017308 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 13 Mar 2015 16:00:26 GMT Message-ID: <1426262415.9114.212.camel@linuxfoundation.org> From: Richard Purdie To: Naresh Bhat Date: Fri, 13 Mar 2015 16:00:15 +0000 In-Reply-To: <1426258527-2329-4-git-send-email-naresh.bhat@linaro.org> References: <1426258527-2329-1-git-send-email-naresh.bhat@linaro.org> <1426258527-2329-4-git-send-email-naresh.bhat@linaro.org> X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: matt.fleming@intel.com, openembedded-core@lists.openembedded.org Subject: Re: [OE-core v1 PATCH 3/5] bootimg: Skip build iso image for aarch64 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: Fri, 13 Mar 2015 16:00:34 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2015-03-13 at 20:25 +0530, Naresh Bhat wrote: > Build iso image required syslinux package. We have already skip the syslinux > package. Hence just skip the iso image build too. > > Signed-off-by: Naresh Bhat > --- > meta/classes/bootimg.bbclass | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass > index ed7b32f..d8c2a59 100644 > --- a/meta/classes/bootimg.bbclass > +++ b/meta/classes/bootimg.bbclass > @@ -265,7 +265,11 @@ python do_bootimg() { > if d.getVar("EFI", True) == "1": > bb.build.exec_func('build_efi_cfg', d) > bb.build.exec_func('build_hddimg', d) > - bb.build.exec_func('build_iso', d) > + > + if d.getVar('TARGET_ARCH', True) == "aarch64": > + return > + else: > + bb.build.exec_func('build_iso', d) Its minor but the else: here is redundant after a return. Cheers, Richard