xref: /linux/arch/powerpc/platforms/powermac/Makefile (revision 93df8a1ed6231727c5db94a80b1a6bd5ee67cec3)
1CFLAGS_bootx_init.o  		+= -fPIC
2
3ifdef CONFIG_FUNCTION_TRACER
4# Do not trace early boot code
5CFLAGS_REMOVE_bootx_init.o = -pg -mno-sched-epilog
6endif
7
8obj-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
11obj-$(CONFIG_PMAC_BACKLIGHT)	+= backlight.o
12# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
13# 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
16# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
17obj-$(CONFIG_PPC64)		+= nvram.o
18obj-$(CONFIG_PPC32)		+= bootx_init.o
19obj-$(CONFIG_SMP)		+= smp.o
20