ia64/linux-2.6.18-xen.hg

diff kernel/Makefile @ 0:831230e53067

Import 2.6.18 from kernel.org tarball.
author Ian Campbell <ian.campbell@xensource.com>
date Wed Apr 11 14:15:44 2007 +0100 (2007-04-11)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kernel/Makefile	Wed Apr 11 14:15:44 2007 +0100
     1.3 @@ -0,0 +1,75 @@
     1.4 +#
     1.5 +# Makefile for the linux kernel.
     1.6 +#
     1.7 +
     1.8 +obj-y     = sched.o fork.o exec_domain.o panic.o printk.o profile.o \
     1.9 +	    exit.o itimer.o time.o softirq.o resource.o \
    1.10 +	    sysctl.o capability.o ptrace.o timer.o user.o \
    1.11 +	    signal.o sys.o kmod.o workqueue.o pid.o \
    1.12 +	    rcupdate.o extable.o params.o posix-timers.o \
    1.13 +	    kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o mutex.o \
    1.14 +	    hrtimer.o rwsem.o
    1.15 +
    1.16 +obj-$(CONFIG_STACKTRACE) += stacktrace.o
    1.17 +obj-y += time/
    1.18 +obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
    1.19 +obj-$(CONFIG_LOCKDEP) += lockdep.o
    1.20 +ifeq ($(CONFIG_PROC_FS),y)
    1.21 +obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
    1.22 +endif
    1.23 +obj-$(CONFIG_FUTEX) += futex.o
    1.24 +ifeq ($(CONFIG_COMPAT),y)
    1.25 +obj-$(CONFIG_FUTEX) += futex_compat.o
    1.26 +endif
    1.27 +obj-$(CONFIG_RT_MUTEXES) += rtmutex.o
    1.28 +obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
    1.29 +obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o
    1.30 +obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
    1.31 +obj-$(CONFIG_SMP) += cpu.o spinlock.o
    1.32 +obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
    1.33 +obj-$(CONFIG_PROVE_LOCKING) += spinlock.o
    1.34 +obj-$(CONFIG_UID16) += uid16.o
    1.35 +obj-$(CONFIG_MODULES) += module.o
    1.36 +obj-$(CONFIG_KALLSYMS) += kallsyms.o
    1.37 +obj-$(CONFIG_STACK_UNWIND) += unwind.o
    1.38 +obj-$(CONFIG_PM) += power/
    1.39 +obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
    1.40 +obj-$(CONFIG_KEXEC) += kexec.o
    1.41 +obj-$(CONFIG_COMPAT) += compat.o
    1.42 +obj-$(CONFIG_CPUSETS) += cpuset.o
    1.43 +obj-$(CONFIG_IKCONFIG) += configs.o
    1.44 +obj-$(CONFIG_STOP_MACHINE) += stop_machine.o
    1.45 +obj-$(CONFIG_AUDIT) += audit.o auditfilter.o
    1.46 +obj-$(CONFIG_AUDITSYSCALL) += auditsc.o
    1.47 +obj-$(CONFIG_KPROBES) += kprobes.o
    1.48 +obj-$(CONFIG_SYSFS) += ksysfs.o
    1.49 +obj-$(CONFIG_DETECT_SOFTLOCKUP) += softlockup.o
    1.50 +obj-$(CONFIG_GENERIC_HARDIRQS) += irq/
    1.51 +obj-$(CONFIG_SECCOMP) += seccomp.o
    1.52 +obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o
    1.53 +obj-$(CONFIG_RELAY) += relay.o
    1.54 +obj-$(CONFIG_TASK_DELAY_ACCT) += delayacct.o
    1.55 +obj-$(CONFIG_TASKSTATS) += taskstats.o
    1.56 +
    1.57 +ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y)
    1.58 +# According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is
    1.59 +# needed for x86 only.  Why this used to be enabled for all architectures is beyond
    1.60 +# me.  I suspect most platforms don't need this, but until we know that for sure
    1.61 +# I turn this off for IA-64 only.  Andreas Schwab says it's also needed on m68k
    1.62 +# to get a correct value for the wait-channel (WCHAN in ps). --davidm
    1.63 +CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer
    1.64 +endif
    1.65 +
    1.66 +$(obj)/configs.o: $(obj)/config_data.h
    1.67 +
    1.68 +# config_data.h contains the same information as ikconfig.h but gzipped.
    1.69 +# Info from config_data can be extracted from /proc/config*
    1.70 +targets += config_data.gz
    1.71 +$(obj)/config_data.gz: .config FORCE
    1.72 +	$(call if_changed,gzip)
    1.73 +
    1.74 +quiet_cmd_ikconfiggz = IKCFG   $@
    1.75 +      cmd_ikconfiggz = (echo "static const char kernel_config_data[] = MAGIC_START"; cat $< | scripts/bin2c; echo "MAGIC_END;") > $@
    1.76 +targets += config_data.h
    1.77 +$(obj)/config_data.h: $(obj)/config_data.gz FORCE
    1.78 +	$(call if_changed,ikconfiggz)