- look at target variants when determining if syslinux is supported or not.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 28 Nov 2006 10:01:46 +0000 (10:01 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 28 Nov 2006 10:01:46 +0000 (10:01 -0000)
  Closes #637

target/x86/syslinux/syslinux.mk

index e3b5ce2ba3f593d1c0ee343be69296c1cd609d85..91809213bf2952c186cb3ede54b6138c7d46b8e9 100644 (file)
@@ -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