Re: [OE-core] [PATCH 1/1] base.bbclass: look in layers for SRC_URI with MACHINE overrides too

2012-02-17 Thread Joshua Lock

On 11/02/12 05:02, Otavio Salvador wrote:

On Fri, Feb 10, 2012 at 22:30, Joshua Lock j...@linux.intel.com
mailto:j...@linux.intel.com wrote:

The logic which looks for MACHINE overrides in SRC_URI and updates
PACKAGE_ARCH
accordingly doesn't account for SRC_URI overrides in layers.


It seems to address the issue but I think we need to support bbappend
with overrides.


Agreed, this patch adds hacky support for that. I am working on a more 
suitable patch to do this in a cleaner way.


If the layer doesn't use a machine override, then:


  * it is not machine depdendant, or
  * is a bug in the layer

People agree with this point of view?


I do.

Cheers,
Joshua
--
Joshua Lock
Yocto Project Johannes factotum
Intel Open Source Technology Centre

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] base.bbclass: look in layers for SRC_URI with MACHINE overrides too

2012-02-11 Thread Otavio Salvador
On Fri, Feb 10, 2012 at 22:30, Joshua Lock j...@linux.intel.com wrote:

 The logic which looks for MACHINE overrides in SRC_URI and updates
 PACKAGE_ARCH
 accordingly doesn't account for SRC_URI overrides in layers.


It seems to address the issue but I think we need to support bbappend with
overrides. If the layer doesn't use a machine override, then:

 * it is not machine depdendant, or
 * is a bug in the layer

People agree with this point of view?

-- 
Otavio Salvador O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core