blob: be60d64be7ad92a11046bbf0fbbcd12b79e1a43b [file] [log] [blame]
Benjamin Herrenschmidtd7f39452005-11-23 17:58:13 +11001CFLAGS_bootx_init.o += -fPIC
2
Steven Rostedt4e491d12008-05-14 23:49:44 -04003ifdef CONFIG_FTRACE
4# 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
Tony Breeds21e38df2008-04-29 11:42:32 +100014# 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
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