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 O_OBJS
= sched.o dma.o fork.o exec_domain.o panic.o printk.o \
12 module.o exit.o itimer.o
info.o time.o softirq.o resource.o \
13 sysctl.o acct.o capability.o ptrace.o timer.o user.o
15 OX_OBJS
+= signal.o sys.o kmod.o context.o
17 ifeq ($(CONFIG_UID16
),y
)
21 ifeq ($(CONFIG_MODULES
),y
)
29 ifneq ($(CONFIG_IA64
),y
)
30 # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is
31 # needed for x86 only. Why this used to be enabled for all architectures is beyond
32 # me. I suspect most platforms don't need this, but until we know that for sure
33 # I turn this off for IA-64 only. Andreas Schwab says it's also needed on m68k
34 # to get a correct value for the wait-channel (WCHAN in ps). --davidm
35 CFLAGS_sched.o
:= $(PROFILING
) -fno-omit-frame-pointer
38 include $(TOPDIR
)/Rules.make