[OE-core] [PATCH v2 00/10] wic: bugfixes & --fixed-size support, tests, selftest: minor fixes

Burton, Ross ross.burton at intel.com
Mon Nov 14 13:34:02 UTC 2016


On 14 November 2016 at 10:35, Maciej Borzęcki <maciej.borzecki at rndity.com>
wrote:

> Do you think it makes sense to replace TARGET_ARCH check with something
> like this instead:
>
>         arch = get_bb_var('HOST_ARCH', 'core-image-minimal')
>
>         is_x86 = arch in ['i586', 'i686', 'x86-64']
>         if is_x86:
>             self.write_config('IMAGE_FSTYPES += " hddimg"\n'
>                               'MACHINE_FEATURES_append = " efi"\n')
>
> Basically, I do not want to build syslinux or set config options that
> are usable on x86 target when building for other targets.
>

That expression is more likely to work, yeah, though woudn't TARGET_ be
more suitable than HOST_?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161114/54ac892b/attachment-0002.html>


More information about the Openembedded-core mailing list