Le 25/09/2010 10:18, Frans Meulenbroeks a écrit :
2010/9/25 Frans Meulenbroeks<[email protected]>:
2010/9/25 Koen Kooi<[email protected]>:
#build with support for the iwmmxt instruction (pxa270 and up)
MY_ARCH := "${PACKAGE_ARCH}"
PACKAGE_ARCH = "$...@base_contains('MACHINE_FEATURES', 'iwmmxt', 'iwmmxt',
'${MY_ARCH}',d)}"

QT_CONFIG_FLAGS_append = " $...@base_contains('MACHINE_FEATURES',
'iwmmxt', ' -iwmmxt', '',d)} "

regards,

Koen

Nice solution.
Guess it would be useful to have a list of all possible
MACHINE_FEATURES and DISTRO_FEATURES somewhere (e.g. wiki)

Frans

Rethinking the issue: assuming we *do* want SOC_FAMILY would it not be
more appropriate to use that here?

you can have a SOC which supports iwmmx and wish not using it so MACHINE_FEATURES seems sane here.

Eric

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to