[OE-core] Whitespace not allowed in COMPATIBLE_MACHINE
Phil Blundell
philb at gnu.org
Tue Nov 29 15:23:22 UTC 2011
On Tue, 2011-11-29 at 15:09 +0100, Ulf Samuelsson wrote:
> Its pretty clear, but this assumes that you are aware of the file itself.
> Have just started looking into openembedded-core, so I didnt even know
> the file existed.
> Is this file mentioned anywhere?
Hm, good question. I think the primary use of documentation.conf is for
bitdoc but, given that the copy of bitdoc in oe-core is sufficiently
bitrotten that it doesn't currently run at all, I suspect not many
people are using it. I'm not sure if there are any other links to that
config file.
> Is there a reason to use a regular expression?
> Why not a list of compatible machines?
A regular expression can always represent a list (via the A|B|C
notation) and it allows you to have more complex/concise expressions as
well.
> If I want to split into several lines, then I guess an ugly hack would be.
> COMPATIBLE_MACHINE =
> "at91sam9260ek|at91sam9xeek|at91sam9g20ek|at91sam9g20ek_2mmc|
> XX1"
> COMPATIBLE_MACHINE += "|at91sam9261ek|at91sam9g10ek|
You can use ".=" to avoid that issue.
p.
More information about the Openembedded-core
mailing list