linux-old/kernel/Makefile
<<
>>
Prefs
   1#
   2# Makefile for the linux kernel.
   3#
   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).
   7#
   8# Note 2! The CFLAGS definitions are now in the main makefile...
   9
  10O_TARGET := kernel.o
  11
  12export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o printk.o
  13
  14obj-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
  18
  19obj-$(CONFIG_UID16) += uid16.o
  20obj-$(CONFIG_MODULES) += ksyms.o
  21obj-$(CONFIG_PM) += pm.o
  22
  23ifneq ($(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
  29CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer
  30endif
  31
  32include $(TOPDIR)/Rules.make
  33
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.