aboutsummaryrefslogtreecommitdiffstats
path: root/mbr/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-22 14:42:40 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-08-22 14:42:40 -0700
commit22a37e436ec3b84ba6dadb44952b0535f96a213c (patch)
treef295bff4f5d3861ea4778a155caf1b222114d353 /mbr/Makefile
parentbd09a6d828fa492aed4406adde6c412e0e5c640d (diff)
downloadsyslinux-22a37e436ec3b84ba6dadb44952b0535f96a213c.tar.gz
syslinux-22a37e436ec3b84ba6dadb44952b0535f96a213c.tar.xz
syslinux-22a37e436ec3b84ba6dadb44952b0535f96a213c.zip
Clean up embedded Makefile targets; fix build failure
Unify common pieces to "embedded" targets (those that produce code that runs neither in the host nor in a com32 environment); this fixes the broken sample/ directory Makefile.
Diffstat (limited to 'mbr/Makefile')
-rw-r--r--mbr/Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/mbr/Makefile b/mbr/Makefile
index 6ae63719..7952e60b 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -15,17 +15,7 @@
#
topdir = ..
-include $(topdir)/MCONFIG
-
-GCCOPT := $(call gcc_ok,-m32,) \
- $(call gcc_ok,-ffreestanding,) \
- $(call gcc_ok,-fno-stack-protector) \
- -march=i386 -Os
-
-LDFLAGS = -m elf_i386
-SFLAGS = $(GCCOPT)
-
-.SUFFIXES: .S .s .o .elf
+include $(topdir)/MCONFIG.embedded
all: mbr.bin gptmbr.bin