patch-1.3.61 linux/arch/i386/Makefile
Next file: linux/arch/i386/config.in
Previous file: linux/arch/alpha/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Fri Feb 9 08:26:30 1996
- Orig file:
v1.3.60/linux/arch/i386/Makefile
- Orig date:
Wed Feb 7 15:11:19 1996
diff -u --recursive --new-file v1.3.60/linux/arch/i386/Makefile linux/arch/i386/Makefile
@@ -23,15 +23,16 @@
#
#
+AS86 =$(CROSS_COMPILE)as86 -0 -a
+AS386 =$(CROSS_COMPILE)as86 -3
+LD86 =$(CROSS_COMPILE)ld86 -0
+
ifdef CONFIG_KERNEL_ELF
LD=$(CROSS_COMPILE)ld -m elf_i386
CPP=$(CC) -E -D__ELF__
OBJDUMP =$(CROSS_COMPILE)objdump
ENCAPS=$(CROSS_COMPILE)encaps
-AS86 =$(CROSS_COMPILE)as86 -0 -a
-AS386 =$(CROSS_COMPILE)as86 -3
-LD86 =$(CROSS_COMPILE)ld86 -0
OBJDUMP_FLAGS=-k -q
ZLDFLAGS=-e startup_32
LDFLAGS=-e stext
@@ -51,15 +52,19 @@
CFLAGS := $(CFLAGS) -pipe
ifdef CONFIG_M386
-CFLAGS := $(CFLAGS) -m386
+CFLAGS := $(CFLAGS) -m386 -DCPU=386
endif
ifdef CONFIG_M486
-CFLAGS := $(CFLAGS) -m486
+CFLAGS := $(CFLAGS) -m486 -DCPU=486
endif
ifdef CONFIG_M586
-CFLAGS := $(CFLAGS) -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2
+CFLAGS := $(CFLAGS) -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
+endif
+
+ifdef CONFIG_M686
+CFLAGS := $(CFLAGS) -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
endif
ifdef SMP
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this