xref: /linux/arch/powerpc/platforms/powermac/Makefile (revision 7022b15e2a9f878fd5184586064c63352c3dd225)
1CFLAGS_bootx_init.o  		+= -fPIC
2
3obj-y				+= pic.o setup.o time.o feature.o pci.o \
4				   sleep.o low_i2c.o cache.o pfunc_core.o \
5				   pfunc_base.o
6obj-$(CONFIG_PMAC_BACKLIGHT)	+= backlight.o
7obj-$(CONFIG_CPU_FREQ_PMAC)	+= cpufreq_32.o
8obj-$(CONFIG_CPU_FREQ_PMAC64)	+= cpufreq_64.o
9# CONFIG_NVRAM is an arch. independant tristate symbol, for pmac32 we really
10# need this to be a bool.  Cheat here and pretend CONFIG_NVRAM=m is really
11# CONFIG_NVRAM=y
12obj-$(CONFIG_NVRAM:m=y)		+= nvram.o
13# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
14obj-$(CONFIG_PPC64)		+= nvram.o
15obj-$(CONFIG_PPC32)		+= bootx_init.o
16obj-$(CONFIG_SMP)		+= smp.o
17obj-$(CONFIG_PPC_MERGE)		+= udbg_scc.o udbg_adb.o
18