xref: /linux/arch/powerpc/platforms/powermac/Makefile (revision 25985edcedea6396277003854657b5f3cb31a628)
1d7f39454SBenjamin HerrenschmidtCFLAGS_bootx_init.o  		+= -fPIC
2d7f39454SBenjamin Herrenschmidt
3606576ceSSteven Rostedtifdef CONFIG_FUNCTION_TRACER
44e491d14SSteven Rostedt# Do not trace early boot code
57563dc64STony BreedsCFLAGS_REMOVE_bootx_init.o = -pg -mno-sched-epilog
64e491d14SSteven Rostedtendif
74e491d14SSteven 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 \
109c4cb825SKumar Gala				   pfunc_base.o udbg_scc.o udbg_adb.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
14*25985edcSLucas De Marchi# CONFIG_NVRAM is an arch. independent 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
22