blob: 1eb7b45e017d14e8df7440f7b5d34af0f05f65b3 [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
Torsten Duwe9a7841a2016-03-03 15:26:58 +11005CFLAGS_REMOVE_bootx_init.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
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
Lucas De Marchi25985ed2011-03-30 22:57:33 -030012# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
Tony Breeds21e38df2008-04-29 11:42:32 +100013# need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really
14# CONFIG_NVRAM=y
15obj-$(CONFIG_NVRAM:m=y) += nvram.o
Paul Mackerras35499c02005-10-22 16:02:39 +100016# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
17obj-$(CONFIG_PPC64) += nvram.o
Benjamin Herrenschmidtd7f39452005-11-23 17:58:13 +110018obj-$(CONFIG_PPC32) += bootx_init.o
Paul Mackerrasf6d57912005-10-10 22:13:53 +100019obj-$(CONFIG_SMP) += smp.o