4 # This file is included by the global makefile so that you can add your own
5 # architecture-specific flags and dependencies. Remember to do have actions
6 # for "archclean" and "archdep" for cleaning up and making dependencies for
9 # This file is subject to the terms and conditions of the GNU General Public
10 # License. See the file "COPYING" in the main directory of this archive
13 # Copyright (C) 1994 by Linus Torvalds
16 LD
=$(CROSS_COMPILE
)ld -m elf_i386
18 OBJCOPY
=$(CROSS_COMPILE
)objcopy
-O binary
-R .note
-R .comment
-S
20 LINKFLAGS
=-T
$(TOPDIR
)/arch
/i386
/vmlinux.lds
$(LDFLAGS
)
23 CFLAGS_NSR
:= -fno-strength-reduce
24 CFLAGS
:= $(CFLAGS
) $(CFLAGS_PIPE
) $(CFLAGS_NSR
)
27 CFLAGS
:= $(CFLAGS
) -m386
-DCPU
=386
31 CFLAGS
:= $(CFLAGS
) -m486
-DCPU
=486
35 CFLAGS
:= $(CFLAGS
) -m486
-malign-loops
=2 -malign-jumps
=2 -malign-functions
=2 -DCPU
=586
39 CFLAGS
:= $(CFLAGS
) -m486
-malign-loops
=2 -malign-jumps
=2 -malign-functions
=2 -DCPU
=586
43 CFLAGS
:= $(CFLAGS
) -m486
-malign-loops
=2 -malign-jumps
=2 -malign-functions
=2 -DCPU
=686
46 HEAD
:= arch
/i386
/kernel
/head.o arch
/i386
/kernel
/init_task.o
48 SUBDIRS
:= $(SUBDIRS
) arch
/i386
/kernel arch
/i386
/mm arch
/i386
/lib
49 CORE_FILES
:= arch
/i386
/kernel
/kernel.o arch
/i386
/mm
/mm.o
$(CORE_FILES
)
50 LIBS
:= $(TOPDIR
)/arch
/i386
/lib
/lib.a
$(LIBS
) $(TOPDIR
)/arch
/i386
/lib
/lib.a
52 ifdef CONFIG_MATH_EMULATION
53 SUBDIRS
:= $(SUBDIRS
) arch
/i386
/math-emu
54 DRIVERS
:= $(DRIVERS
) arch
/i386
/math-emu
/math.a
57 arch
/i386
/kernel
: dummy
58 $(MAKE
) linuxsubdirs SUBDIRS
=arch
/i386
/kernel
61 $(MAKE
) linuxsubdirs SUBDIRS
=arch
/i386
/mm
63 MAKEBOOT
= $(MAKE
) -C arch
/$(ARCH
)/boot
74 @
$(MAKEBOOT
) BOOTIMAGE
=zImage zlilo
77 @
$(MAKEBOOT
) BOOTIMAGE
=bzImage zlilo
80 @
$(MAKEBOOT
) BOOTIMAGE
=zImage zdisk
83 @
$(MAKEBOOT
) BOOTIMAGE
=bzImage zdisk
86 @
$(MAKEBOOT
) BOOTIMAGE
=bzImage
install