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 CF26876551 for ; Fri, 31 Jul 2015 11:24:56 +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 t6VBOsEx024525; Fri, 31 Jul 2015 12:24:54 +0100 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 N46vtCGh1Tse; Fri, 31 Jul 2015 12:24:54 +0100 (BST) 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 t6VBOeTF024504 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 31 Jul 2015 12:24:51 +0100 Message-ID: <1438341880.22462.25.camel@linuxfoundation.org> From: Richard Purdie To: He Zhe Date: Fri, 31 Jul 2015 12:24:40 +0100 In-Reply-To: <55AEFFFA.8080308@windriver.com> References: <55AEFFFA.8080308@windriver.com> X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: Bruce Ashfield , Christopher Larson , Patches and discussions about the oe-core layer Subject: Re: [PATCH v2 1/2] kernel: Define KERNEL_IMAGETYPE as a list 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, 31 Jul 2015 11:24:57 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2015-07-22 at 10:29 +0800, He Zhe wrote: > On 07/21/2015 10:53 PM, Christopher Larson wrote: > > > > On Tue, Jul 21, 2015 at 12:23 AM, >wrote: > > > > From: He Zhe > > > > > To support building packaging and installing multi types of kernel > > images, such as zImage uImage, at one time define KERNEL_IMAGETYPE > > as a list. > > Modify wherever reference KERNEL_IMAGETYPE accordingly. > > > > Fixes [YOCTO #6945]. > > > > Signed-off-by: He Zhe > > > > > > > Question, why not add KERNEL_IMAGETYPES, and make KERNEL_IMAGETYPE equal to your new KERNEL_IMAGETYPE_0? > > Adding a new KERNEL_IMAGETYPES will also work. But it should be better > not to change the name of KERNEL_IMAGETYPE, so that those who have > used it don't have to change their code. > > Thank you for reviewing. I have to agree with Chris here, keeping KERNEL_IMAGETYPE as used today and equivalent to KERNEL_IMAGETYPE_0 and adding KERNEL_IMAGETYPES does seem like a cleaner way to implement this. Cheers, Richard