162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ciCFLAGS_bootx_init.o += -fPIC 362306a36Sopenharmony_ciCFLAGS_bootx_init.o += -fno-stack-protector 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciKASAN_SANITIZE_bootx_init.o := n 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciifdef CONFIG_KASAN 862306a36Sopenharmony_ciCFLAGS_bootx_init.o += -DDISABLE_BRANCH_PROFILING 962306a36Sopenharmony_ciendif 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciifdef CONFIG_FUNCTION_TRACER 1262306a36Sopenharmony_ci# Do not trace early boot code 1362306a36Sopenharmony_ciCFLAGS_REMOVE_bootx_init.o = $(CC_FLAGS_FTRACE) 1462306a36Sopenharmony_ciendif 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciobj-y += pic.o setup.o time.o feature.o pci.o \ 1762306a36Sopenharmony_ci sleep.o low_i2c.o cache.o pfunc_core.o \ 1862306a36Sopenharmony_ci pfunc_base.o udbg_scc.o udbg_adb.o 1962306a36Sopenharmony_ciobj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o 2062306a36Sopenharmony_ci# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really 2162306a36Sopenharmony_ci# need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really 2262306a36Sopenharmony_ci# CONFIG_NVRAM=y 2362306a36Sopenharmony_ciobj-$(CONFIG_NVRAM:m=y) += nvram.o 2462306a36Sopenharmony_ciobj-$(CONFIG_PPC32) += bootx_init.o 2562306a36Sopenharmony_ciobj-$(CONFIG_SMP) += smp.o 26