On 14 November 2016 at 10:35, Maciej Borzęcki <[email protected]>
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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core