2 # Makefile for the linux kernel.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile...
11 $(CC
) -D__ASSEMBLY__
$(AFLAGS
) -traditional
-c
$< -o
$*.o
13 all: kernel.o head.o init_task.o
16 O_OBJS
:= process.o signal.o entry.o traps.o irq.o vm86.o \
17 ptrace.o ioport.o ldt.o setup.o time.o sys_i386.o
18 OX_OBJS
:= i386_ksyms.o
29 ifeq ($(CONFIG_MTRR
),y
)
32 ifeq ($(CONFIG_MTRR
),m
)
42 O_OBJS
+= smp.o trampoline.o
45 ifdef CONFIG_X86_IO_APIC
49 ifdef CONFIG_X86_VISWS_APIC
50 O_OBJS
+= visws_apic.o
54 $(CC
) -D__ASSEMBLY__
$(AFLAGS
) -traditional
-c
$*.S
-o
$*.o
56 include $(TOPDIR
)/Rules.make