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