mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)


Kumar Gala <galak@...>
 

On Jul 28, 2011, at 11:05 AM, Saul Wold wrote:

On 07/28/2011 08:45 AM, Kumar Gala wrote:
I think I know the cause, let me dig up the change that is related. What bit is looking for just ppc603e?
This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try the patch that Koen posted.

Thanks
Sau!
so in conf/bitbake.conf

PACKAGE_ARCH = "${TUNE_PKGARCH}"
MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}"
PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}"
PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"


Shouldn't PACKAGE_ARCHS be:

PACKAGE_ARCHS = "all any noarch ${PACKAGE_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"

- k


Martin Jansa
 

On Thu, Jul 28, 2011 at 01:43:45PM -0500, Kumar Gala wrote:

On Jul 28, 2011, at 11:05 AM, Saul Wold wrote:

On 07/28/2011 08:45 AM, Kumar Gala wrote:
I think I know the cause, let me dig up the change that is related. What bit is looking for just ppc603e?
This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try the patch that Koen posted.

Thanks
Sau!
so in conf/bitbake.conf

PACKAGE_ARCH = "${TUNE_PKGARCH}"
MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}"
PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}"
PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"


Shouldn't PACKAGE_ARCHS be:

PACKAGE_ARCHS = "all any noarch ${PACKAGE_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
this change causes ERROR here with nokia900:
Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: armv7a-vfp-neon

Regards,

--
Martin 'JaMa' Jansa jabber: Martin.Jansa@...