Makefile 1.33 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4
#
# Makefile for the linux kernel.
#

Ingo Molnar's avatar
Ingo Molnar committed
5
export-objs = signal.o sys.o kmod.o workqueue.o ksyms.o pm.o exec_domain.o \
John Levon's avatar
John Levon committed
6
		printk.o platform.o suspend.o dma.o module.o cpufreq.o \
7
		profile.o rcupdate.o intermodule.o
Linus Torvalds's avatar
Linus Torvalds committed
8

John Levon's avatar
John Levon committed
9
obj-y     = sched.o fork.o exec_domain.o panic.o printk.o profile.o \
10
	    exit.o itimer.o time.o softirq.o resource.o \
11
	    sysctl.o capability.o ptrace.o timer.o user.o \
12
	    signal.o sys.o kmod.o workqueue.o futex.o platform.o pid.o \
13
	    rcupdate.o intermodule.o extable.o
Linus Torvalds's avatar
Linus Torvalds committed
14

Russell King's avatar
Russell King committed
15
obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
16
obj-$(CONFIG_SMP) += cpu.o
Linus Torvalds's avatar
Linus Torvalds committed
17
obj-$(CONFIG_UID16) += uid16.o
18
obj-$(CONFIG_MODULES) += ksyms.o module.o
Ingo Molnar's avatar
Ingo Molnar committed
19
obj-$(CONFIG_KALLSYMS) += kallsyms.o
Linus Torvalds's avatar
Linus Torvalds committed
20
obj-$(CONFIG_PM) += pm.o
21
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
22
obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
Pavel Machek's avatar
Pavel Machek committed
23
obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend.o
24
obj-$(CONFIG_COMPAT) += compat.o
Linus Torvalds's avatar
Linus Torvalds committed
25 26 27 28 29 30 31 32 33 34 35

ifneq ($(CONFIG_IA64),y)
# According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is
# needed for x86 only.  Why this used to be enabled for all architectures is beyond
# me.  I suspect most platforms don't need this, but until we know that for sure
# I turn this off for IA-64 only.  Andreas Schwab says it's also needed on m68k
# to get a correct value for the wait-channel (WCHAN in ps). --davidm
CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer
endif

include $(TOPDIR)/Rules.make