From: Bernhard Reutner-Fischer Date: Tue, 28 Nov 2006 10:01:46 +0000 (-0000) Subject: - look at target variants when determining if syslinux is supported or not. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=085f7b3ed98d8bb7ae3efaf849e0c5a6d1d1b2f4;p=buildroot.git - look at target variants when determining if syslinux is supported or not. Closes #637 --- diff --git a/target/x86/syslinux/syslinux.mk b/target/x86/syslinux/syslinux.mk index e3b5ce2ba3..91809213bf 100644 --- a/target/x86/syslinux/syslinux.mk +++ b/target/x86/syslinux/syslinux.mk @@ -1,4 +1,21 @@ +SYSLINUX_SUPPORTED_ARCH=n ifeq ($(ARCH),i386) +SYSLINUX_SUPPORTED_ARCH=y +endif +ifeq ($(ARCH),i486) +SYSLINUX_SUPPORTED_ARCH=y +endif +ifeq ($(ARCH),i586) +SYSLINUX_SUPPORTED_ARCH=y +endif +ifeq ($(ARCH),i686) +SYSLINUX_SUPPORTED_ARCH=y +endif +ifeq ($(ARCH),x86_64) +SYSLINUX_SUPPORTED_ARCH=y +endif +ifeq ($(SYSLINUX_SUPPORTED_ARCH),y) + ############################################################# # # syslinux to make target msdos/iso9660 filesystems bootable