[OE-core] [PATCH] oe-core:package_manager extract target arch from TARGET_SYS and add it into package_archs

Burton, Ross ross.burton at intel.com
Thu Jan 7 14:23:44 UTC 2016


On 24 December 2015 at 05:51, <fupan.li at windriver.com> wrote:

> +            #add the compatible arch extracted from TARGET_SYS.
> +            #TARGET_SYS usually values as "arm-poky-linux-gnueabi",
> +            #so the arch is 'arm'
> +            target_sys = self.d.getVar("TARGET_SYS", True)
> +            if target_sys:
> +                target_arch = target_sys.split('-')[0]
> +            if target_arch not in package_archs['default']:
> +                package_archs['default'].append(target_arch)
> +
>

Isn't this a long-winded way of getting ${TARGET_ARCH}?

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


More information about the Openembedded-core mailing list