summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-28 10:01:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-28 10:01:46 +0000
commit085f7b3ed98d8bb7ae3efaf849e0c5a6d1d1b2f4 (patch)
treeaffbd3c22e48fc1746adcabef8b65ce54d373b44
parentd15b0f98f125b711c5095c0d4a61bf11a5a62bcf (diff)
downloadbuildroot-novena-085f7b3ed98d8bb7ae3efaf849e0c5a6d1d1b2f4.tar.gz
buildroot-novena-085f7b3ed98d8bb7ae3efaf849e0c5a6d1d1b2f4.zip
- look at target variants when determining if syslinux is supported or not.
Closes #637
-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