[oe] Patch "Don't inherit siteinfo in base.bbclass" breaks SlugOS
Mike Westerhof
mike at mwester.net
Sat Mar 20 03:00:40 UTC 2010
The following commit breaks SlugOS. I apologize for starting a new
thread on this, but I am unable to find the original discussion on the
OE ml (but I probably missed it in the several hundred that piled up in
my inbox this week).
------------
commit a215c2f283476776567506c2e3f969c48f7e5e3d
Author: Chris Larson <chris_larson at mentor.com>
Date: Tue Mar 9 16:54:57 2010 -0700
Don't inherit siteinfo in base.bbclass
Acked-by: Richard Purdie <rpurdie at linux.intel.com>
Acked-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Signed-off-by: Chris Larson <chris_larson at mentor.com>
------------
In a nutshell, the ixp4xx can run in either endianess, and SlugOS builds
both a BE and an LE image. Removing "inherit siteinfo" from
base.bbclass causes parsing failures in every recipe.
As an example of the issue, consider this lines in
conf/distro/include/slugos.conf:
IMAGE_BASENAME = "${@['slugos${SITEINFO_ENDIANESS}',
'ucslugc'][bb.data.getVar('TARGET_OS', d, 1) == 'linux-uclibc']}"
and
DISTRO_NAME ?=
"INVALID-${SITEINFO_ENDIANESS}-${ARM_INSTRUCTION_SET}-${TARGET_OS}"
There may be other locations (such as recipes, etc) where this problem
may exist, these were just the two locations I found easily.
Any ideas how to address this?
-Mike (mwester)
More information about the Openembedded-devel
mailing list