Received: from mail.reciva.com ([109.169.29.93] helo=crown.reciva.com) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OtdT0-0007ez-KE for openembedded-devel@lists.openembedded.org; Thu, 09 Sep 2010 11:30:53 +0200 Received: from [62.7.80.98] (helo=lurch.internal.reciva.com) by crown.reciva.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OtdSM-0006sh-B6 for openembedded-devel@lists.openembedded.org; Thu, 09 Sep 2010 10:30:10 +0100 Received: from mill.internal.reciva.com ([192.168.106.87] ident=pb) by lurch.internal.reciva.com with esmtp (Exim 4.63) (envelope-from ) id 1OtdSM-0005wM-34 for openembedded-devel@lists.openembedded.org; Thu, 09 Sep 2010 10:30:10 +0100 From: Phil Blundell To: openembedded-devel@lists.openembedded.org In-Reply-To: References: <1283453522-8408-1-git-send-email-fransmeulenbroeks@gmail.com> Date: Thu, 09 Sep 2010 10:30:09 +0100 Message-ID: <1284024609.28520.1446.camel@mill.internal.reciva.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 X-Broken-Reverse-DNS: no host name found for IP address 62.7.80.98 X-SA-Exim-Connect-IP: 109.169.29.93 X-SA-Exim-Mail-From: philb@gnu.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [PATCH] base.bbclass: fix soc-family test X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 09:30:53 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2010-09-09 at 09:11 +0200, Frans Meulenbroeks wrote: > 2010/9/2 Frans Meulenbroeks : > > - if this_soc_family and not re.match(need_machine, this_soc_family): > > + if (this_soc_family and not re.match(need_machine, this_soc_family)) or not this_soc_family: > > raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) I am still far from convinced that this hunk of SOC_FAMILY code is desirable to have in the first place but, if it's going to stay there, clearly it should be fixed so that it doesn't cause problems for non-users. So, yes, your patch looks fine to me. p.