[oe] [PATCH 2/2] conf/bitbake.conf: add DISTRO_ARCH and MACHINE_DISTRO_ARCH
Otavio Salvador
otavio at ossystems.com.br
Mon Feb 28 17:04:29 UTC 2011
On Mon, Feb 28, 2011 at 16:57, Phil Blundell <philb at gnu.org> wrote:
> On Mon, 2011-02-28 at 13:26 +0000, Otavio Salvador wrote:
>> -PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}"
>> +DISTRO_ARCH = "${TARGET_ARCH}-${DISTRO}"
>> +MACHINE_DISTRO_ARCH = "${MACHINE_ARCH}-${DISTRO}"
>> +PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${DISTRO_ARCH} ${MACHINE_DISTRO_ARCH} ${MACHINE}"
>
> This seems a bit weird. Any given package feed (or TMPDIR) is, more or
> less by definition, going to correspond to a single DISTRO so I can't
> see any situation in which these extra archs would be useful. What's
> the use-case for this?
We have a set of products that reuse a common distro definition but
has different needs on a small set of packages. To avoid having them
all rebuild we set those to DISTRO_ARCH and the ones that depends on
machine and distro to MACHINE_DISTRO_ARCH avoiding a lot of rebuilding
and CPU time.
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
More information about the Openembedded-devel
mailing list