On 24 December 2015 at 05:51, <[email protected]> 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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core