Import 2.3.99pre10-1
[davej-history.git] / kernel / Makefile
blob2a4f548af3a39f087dda5cabf6eefe96dc1c3aba
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...
10 O_TARGET := kernel.o
11 O_OBJS = sched.o dma.o fork.o exec_domain.o panic.o printk.o sys.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
15 OX_OBJS += signal.o
17 ifeq ($(CONFIG_UID16),y)
18 O_OBJS += uid16.o
19 endif
21 ifeq ($(CONFIG_KMOD),y)
22 O_OBJS += kmod.o
23 endif
25 ifeq ($(CONFIG_MODULES),y)
26 OX_OBJS += ksyms.o
27 endif
29 ifeq ($(CONFIG_PM),y)
30 OX_OBJS += pm.o
31 endif
33 CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer
35 include $(TOPDIR)/Rules.make