blob: ea47df66fee5235588061efb08d5e2a6be685f4e [file] [log] [blame]
Benjamin Herrenschmidtd7f39452005-11-23 17:58:13 +11001CFLAGS_bootx_init.o += -fPIC
2
Steven Rostedt606576c2008-10-06 19:06:12 -04003ifdef CONFIG_FUNCTION_TRACER
Steven Rostedt4e491d12008-05-14 23:49:44 -04004# Do not trace early boot code
Tony Breeds7563dc62008-09-02 16:50:38 +10005CFLAGS_REMOVE_bootx_init.o = -pg -mno-sched-epilog
Steven Rostedt4e491d12008-05-14 23:49:44 -04006endif
7
Paul Mackerras35499c02005-10-22 16:02:39 +10008obj-y += pic.o setup.o time.o feature.o pci.o \
Benjamin Herrenschmidt5b9ca522006-01-07 11:41:02 +11009 sleep.o low_i2c.o cache.o pfunc_core.o \
Kumar Gala9c4cb822008-08-02 02:44:11 +100010 pfunc_base.o udbg_scc.o udbg_adb.o
Paul Mackerrasf6d57912005-10-10 22:13:53 +100011obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +110012obj-$(CONFIG_CPU_FREQ_PMAC) += cpufreq_32.o
13obj-$(CONFIG_CPU_FREQ_PMAC64) += cpufreq_64.o
Lucas De Marchi25985ed2011-03-30 22:57:33 -030014# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
Tony Breeds21e38df2008-04-29 11:42:32 +100015# need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really
16# CONFIG_NVRAM=y
17obj-$(CONFIG_NVRAM:m=y) += nvram.o
Paul Mackerras35499c02005-10-22 16:02:39 +100018# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
19obj-$(CONFIG_PPC64) += nvram.o
Benjamin Herrenschmidtd7f39452005-11-23 17:58:13 +110020obj-$(CONFIG_PPC32) += bootx_init.o
Paul Mackerrasf6d57912005-10-10 22:13:53 +100021obj-$(CONFIG_SMP) += smp.o