summaryrefslogtreecommitdiffstats
path: root/kernel/Makefile
blob: a13812119e4839578e12c925c1f0ac6b2784ee87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# Makefile for the linux kernel.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...

O_TARGET := kernel.o
O_OBJS    = sched.o dma.o fork.o exec_domain.o panic.o printk.o \
	    module.o exit.o itimer.o info.o time.o softirq.o resource.o \
	    sysctl.o acct.o capability.o ptrace.o timer.o user.o

OX_OBJS  += signal.o sys.o

ifeq ($(CONFIG_UID16),y)
O_OBJS += uid16.o
endif

ifeq ($(CONFIG_KMOD),y)
O_OBJS += kmod.o
endif

ifeq ($(CONFIG_MODULES),y)
OX_OBJS  += ksyms.o
endif

ifeq ($(CONFIG_PM),y)
OX_OBJS += pm.o
endif

CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer

include $(TOPDIR)/Rules.make