1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2d7f39454SBenjamin HerrenschmidtCFLAGS_bootx_init.o += -fPIC 3d7f39454SBenjamin Herrenschmidt 4606576ceSSteven Rostedtifdef CONFIG_FUNCTION_TRACER 54e491d14SSteven Rostedt# Do not trace early boot code 6*2a056f58SNicholas PigginCFLAGS_REMOVE_bootx_init.o = $(CC_FLAGS_FTRACE) 74e491d14SSteven Rostedtendif 84e491d14SSteven Rostedt 935499c01SPaul Mackerrasobj-y += pic.o setup.o time.o feature.o pci.o \ 105b9ca526SBenjamin Herrenschmidt sleep.o low_i2c.o cache.o pfunc_core.o \ 119c4cb825SKumar Gala pfunc_base.o udbg_scc.o udbg_adb.o 12f6d57916SPaul Mackerrasobj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o 1325985edcSLucas De Marchi# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really 1421e38dfeSTony Breeds# need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really 1521e38dfeSTony Breeds# CONFIG_NVRAM=y 1621e38dfeSTony Breedsobj-$(CONFIG_NVRAM:m=y) += nvram.o 1735499c01SPaul Mackerras# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff 1835499c01SPaul Mackerrasobj-$(CONFIG_PPC64) += nvram.o 19d7f39454SBenjamin Herrenschmidtobj-$(CONFIG_PPC32) += bootx_init.o 20f6d57916SPaul Mackerrasobj-$(CONFIG_SMP) += smp.o 21