wic-tools: don't build syslinux-native for targets without syslinux

If we're not building syslinux, then there's no point building
syslinux-native.

(From OE-Core rev: 152dbd05c099ce50701466336a9c9642c98e4fe0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2020-12-14 18:31:44 +00:00 committed by Richard Purdie
parent a9755a33fa
commit 8bac787b8f

View File

@ -3,14 +3,14 @@ SUMMARY = "A meta recipe to build native tools used by wic."
LICENSE = "MIT"
DEPENDS = "\
parted-native syslinux-native gptfdisk-native dosfstools-native \
parted-native gptfdisk-native dosfstools-native \
mtools-native bmap-tools-native grub-native cdrtools-native \
btrfs-tools-native squashfs-tools-native pseudo-native \
e2fsprogs-native util-linux-native tar-native\
"
DEPENDS_append_x86 = " syslinux grub-efi systemd-boot"
DEPENDS_append_x86-64 = " syslinux grub-efi systemd-boot"
DEPENDS_append_x86-x32 = " syslinux grub-efi"
DEPENDS_append_x86 = " syslinux-native syslinux grub-efi systemd-boot"
DEPENDS_append_x86-64 = " syslinux-native syslinux grub-efi systemd-boot"
DEPENDS_append_x86-x32 = " syslinux-native syslinux grub-efi"
INHIBIT_DEFAULT_DEPS = "1"