summaryrefslogtreecommitdiff
path: root/target/x86
diff options
context:
space:
mode:
Diffstat (limited to 'target/x86')
-rw-r--r--target/x86/syslinux/syslinux.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/x86/syslinux/syslinux.mk b/target/x86/syslinux/syslinux.mk
index e3b5ce2ba..91809213b 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