xref: /linux/arch/powerpc/platforms/powermac/Makefile (revision 4e491d14f2506b218d678935c25a7027b79178b1)
1d7f39454SBenjamin HerrenschmidtCFLAGS_bootx_init.o  		+= -fPIC
2d7f39454SBenjamin Herrenschmidt
3*4e491d14SSteven Rostedtifdef CONFIG_FTRACE
4*4e491d14SSteven Rostedt# Do not trace early boot code
5*4e491d14SSteven RostedtCFLAGS_REMOVE_bootx_init.o = -pg
6*4e491d14SSteven Rostedtendif
7*4e491d14SSteven Rostedt
835499c01SPaul Mackerrasobj-y				+= pic.o setup.o time.o feature.o pci.o \
95b9ca526SBenjamin Herrenschmidt				   sleep.o low_i2c.o cache.o pfunc_core.o \
105b9ca526SBenjamin Herrenschmidt				   pfunc_base.o
11f6d57916SPaul Mackerrasobj-$(CONFIG_PMAC_BACKLIGHT)	+= backlight.o
124350147aSBenjamin Herrenschmidtobj-$(CONFIG_CPU_FREQ_PMAC)	+= cpufreq_32.o
134350147aSBenjamin Herrenschmidtobj-$(CONFIG_CPU_FREQ_PMAC64)	+= cpufreq_64.o
1421e38dfeSTony Breeds# CONFIG_NVRAM is an arch. independant tristate symbol, for pmac32 we really
1521e38dfeSTony Breeds# need this to be a bool.  Cheat here and pretend CONFIG_NVRAM=m is really
1621e38dfeSTony Breeds# CONFIG_NVRAM=y
1721e38dfeSTony Breedsobj-$(CONFIG_NVRAM:m=y)		+= nvram.o
1835499c01SPaul Mackerras# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
1935499c01SPaul Mackerrasobj-$(CONFIG_PPC64)		+= nvram.o
20d7f39454SBenjamin Herrenschmidtobj-$(CONFIG_PPC32)		+= bootx_init.o
21f6d57916SPaul Mackerrasobj-$(CONFIG_SMP)		+= smp.o
2251d3082fSBenjamin Herrenschmidtobj-$(CONFIG_PPC_MERGE)		+= udbg_scc.o udbg_adb.o
23