2010/7/7 Phil Blundell <[email protected]>: > On Wed, 2010-07-07 at 20:49 +0200, Frans Meulenbroeks wrote: >> 2010/7/7 Frans Meulenbroeks <[email protected]>: >> > added INCOMPATIBLE_MACHINE >> > we have COMPATIBLE_MACHINE but that does not allow to say that >> > a package is supported by all except a certain machine. >> > a regexp like "(?!arch)" >> > This mechanism can be used to exclude certain machines. >> > Idea is that in binutils and gcc you can use this to specify that >> > a certain version does not support a certain machine >> >> actually what I wanted to say in the commit message is that a regexp >> like (?!arch) does not work. >> \b(?!arch) or ^(?!arch) didn't work either and consulting #python did > > This might just be an accident of wording, but you do realise that > COMPATIBLE_MACHINE is tested against ${MACHINE} (i.e. not any of the > ${xx_ARCH} variables), right? If you want to test arches then you want > ${COMPATIBLE_ARCH}. > > I just did a quick test with (?!foo) in C_M and it seemed to work ok for > me. Specifically: > > MACHINE = goodmach > COMPATIBLE_MACHINE = "(?!badmach)" > > works, whereas > > MACHINE = badmach > COMPATIBLE_MACHINE = "(?!badmach)" > > is rejected. What exactly goes wrong for you?
Aargh, yes I was using COMPATIBLE_MACHINE to test against an arch. COMPATIBLE_ARCH does not exist at the moment. Is there interest in it? (or in other words, do I have a chance I get acks for it, if not I'd rather save myself the effort writing a patch Frans _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
