| # |
| # Makefile for the linux kernel. |
| # |
| |
| obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ |
| exit.o itimer.o time.o softirq.o resource.o \ |
| sysctl.o capability.o ptrace.o timer.o user.o \ |
| signal.o sys.o kmod.o workqueue.o futex.o pid.o \ |
| rcupdate.o intermodule.o extable.o params.o posix-timers.o |
| |
| obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o |
| obj-$(CONFIG_SMP) += cpu.o |
| obj-$(CONFIG_UID16) += uid16.o |
| obj-$(CONFIG_MODULES) += ksyms.o module.o |
| obj-$(CONFIG_KALLSYMS) += kallsyms.o |
| obj-$(CONFIG_PM) += pm.o |
| obj-$(CONFIG_CPU_FREQ) += cpufreq.o |
| obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o |
| obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend.o |
| obj-$(CONFIG_COMPAT) += compat.o |
| |
| 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 |