Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile
[linux-2.6] / arch / powerpc / platforms / powermac / Makefile
1 CFLAGS_bootx_init.o             += -fPIC
2
3 ifdef CONFIG_FUNCTION_TRACER
4 # Do not trace early boot code
5 CFLAGS_REMOVE_bootx_init.o = -pg -mno-sched-epilog
6 endif
7
8 obj-y                           += pic.o setup.o time.o feature.o pci.o \
9                                    sleep.o low_i2c.o cache.o pfunc_core.o \
10                                    pfunc_base.o udbg_scc.o udbg_adb.o
11 obj-$(CONFIG_PMAC_BACKLIGHT)    += backlight.o
12 obj-$(CONFIG_CPU_FREQ_PMAC)     += cpufreq_32.o
13 obj-$(CONFIG_CPU_FREQ_PMAC64)   += cpufreq_64.o
14 # CONFIG_NVRAM is an arch. independant tristate symbol, for pmac32 we really
15 # need this to be a bool.  Cheat here and pretend CONFIG_NVRAM=m is really
16 # CONFIG_NVRAM=y
17 obj-$(CONFIG_NVRAM:m=y)         += nvram.o
18 # ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
19 obj-$(CONFIG_PPC64)             += nvram.o
20 obj-$(CONFIG_PPC32)             += bootx_init.o
21 obj-$(CONFIG_SMP)               += smp.o