summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael Brown2008-10-07 23:46:43 +0200
committerMichael Brown2008-10-07 23:46:43 +0200
commitf0b942ef42d542a3411545831ce81d5ba54b2de5 (patch)
tree78e79d85289c8331d7a7136cc1bf48b1c6ca76ed /src/Makefile
parent[libc] Define wchar_t in a gcc-compatible way (diff)
downloadipxe-f0b942ef42d542a3411545831ce81d5ba54b2de5.tar.gz
ipxe-f0b942ef42d542a3411545831ce81d5ba54b2de5.tar.xz
ipxe-f0b942ef42d542a3411545831ce81d5ba54b2de5.zip
[makefile] Kill off arch/$(ARCH)/Config
The arch/i386/Config file has long been marked as deprecated. Move all the pertinent bits to arch/i386/Makefile instead and remove arch/i386/Config.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Makefile b/src/Makefile
index 6c42da6a..354ca00c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -73,19 +73,6 @@ noargs : blib $(BIN)/NIC $(BIN)/gpxe.dsk $(BIN)/gpxe.iso $(BIN)/gpxe.usb $(BIN)/
#
ARCH := $(shell uname -m | sed -e 's,i[3456789]86,i386,')
-# handle x86_64 like i386, but set -m32 option for 32bit code only
-ifeq ($(ARCH),x86_64)
-ARCH := i386
-CFLAGS += -m32
-ASFLAGS += --32
-LDFLAGS += -m elf_i386
-endif
-
-# Drag in architecture-specific Config
-#
-MAKEDEPS += arch/$(ARCH)/Config
-include arch/$(ARCH)/Config
-
# Common flags
#
CFLAGS += -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)