[OE-core] [OE-core v2 PATCH 3/5] bootimg: Skip iso image build on aarch64
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Mar 18 12:35:45 UTC 2015
On 18 March 2015 at 12:27, Naresh Bhat <naresh.bhat at linaro.org> wrote:
> To generate bootable ISO image the x86 architecture uses syslinux package (syslinux/isolinux.bin).
> We have already skip the syslinux package on aarch64. Hence skip the iso image build on aarch64.
>
> Signed-off-by: Naresh Bhat <naresh.bhat at linaro.org>
> ---
> meta/classes/bootimg.bbclass | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
> index ed7b32f..5a8e70c 100644
> --- a/meta/classes/bootimg.bbclass
> +++ b/meta/classes/bootimg.bbclass
> @@ -33,6 +33,7 @@ do_bootimg[depends] += "dosfstools-native:do_populate_sysroot \
>
> PACKAGES = " "
> EXCLUDE_FROM_WORLD = "1"
> +NOISO_aarch64 = "1"
how does that help !COMPATIBLE_HOST (of syslinux) except aarch64?
I meant you to
def mycheck(d):
h = d.getVar('COMPATIBLE_HOST', True)
if h:
t = d.getVar('TARGET_ARCH', True)
if re.match(h, t):
return 0
return 1
and use that to set NOISO ?= "${@mycheck(d)}"
(modulo typos and testing)
I think something like that should work and i think this would be
preferable to adding all those upcoming NOISO_baz
See what i mean?
thanks,
More information about the Openembedded-core
mailing list