#
|
#
|
# Makefile for the linux kernel.
|
# Makefile for the linux kernel.
|
#
|
#
|
# Note! Dependencies are done automagically by 'make dep', which also
|
# Note! Dependencies are done automagically by 'make dep', which also
|
# removes any old dependencies. DON'T put your own dependencies here
|
# removes any old dependencies. DON'T put your own dependencies here
|
# unless it's something special (ie not a .c file).
|
# unless it's something special (ie not a .c file).
|
#
|
#
|
# Note 2! The CFLAGS definitions are now in the main makefile...
|
# Note 2! The CFLAGS definitions are now in the main makefile...
|
|
|
O_TARGET := kernel.o
|
O_TARGET := kernel.o
|
|
|
export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o printk.o
|
export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o printk.o
|
|
|
obj-y = sched.o dma.o fork.o exec_domain.o panic.o printk.o \
|
obj-y = 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 \
|
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 \
|
sysctl.o acct.o capability.o ptrace.o timer.o user.o \
|
signal.o sys.o kmod.o context.o
|
signal.o sys.o kmod.o context.o
|
|
|
obj-$(CONFIG_UID16) += uid16.o
|
obj-$(CONFIG_UID16) += uid16.o
|
obj-$(CONFIG_MODULES) += ksyms.o
|
obj-$(CONFIG_MODULES) += ksyms.o
|
obj-$(CONFIG_PM) += pm.o
|
obj-$(CONFIG_PM) += pm.o
|
|
|
ifneq ($(CONFIG_IA64),y)
|
ifneq ($(CONFIG_IA64),y)
|
ifneq ($(CONFIG_OR32),y)
|
ifneq ($(CONFIG_OR32),y)
|
# According to Alan Modra , the -fno-omit-frame-pointer is
|
# According to Alan Modra , the -fno-omit-frame-pointer is
|
# needed for x86 only. Why this used to be enabled for all architectures is beyond
|
# 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
|
# 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
|
# 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
|
# to get a correct value for the wait-channel (WCHAN in ps). --davidm
|
CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer
|
CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer
|
endif
|
endif
|
endif
|
endif
|
|
|
include $(TOPDIR)/Rules.make
|
include $(TOPDIR)/Rules.make
|
|
|