18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciCFLAGS_bootx_init.o  		+= -fPIC
38c2ecf20Sopenharmony_ciCFLAGS_bootx_init.o		+= -fno-stack-protector
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciKASAN_SANITIZE_bootx_init.o := n
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciifdef CONFIG_KASAN
88c2ecf20Sopenharmony_ciCFLAGS_bootx_init.o  		+= -DDISABLE_BRANCH_PROFILING
98c2ecf20Sopenharmony_ciendif
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciifdef CONFIG_FUNCTION_TRACER
128c2ecf20Sopenharmony_ci# Do not trace early boot code
138c2ecf20Sopenharmony_ciCFLAGS_REMOVE_bootx_init.o = $(CC_FLAGS_FTRACE)
148c2ecf20Sopenharmony_ciendif
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciobj-y				+= pic.o setup.o time.o feature.o pci.o \
178c2ecf20Sopenharmony_ci				   sleep.o low_i2c.o cache.o pfunc_core.o \
188c2ecf20Sopenharmony_ci				   pfunc_base.o udbg_scc.o udbg_adb.o
198c2ecf20Sopenharmony_ciobj-$(CONFIG_PMAC_BACKLIGHT)	+= backlight.o
208c2ecf20Sopenharmony_ci# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
218c2ecf20Sopenharmony_ci# need this to be a bool.  Cheat here and pretend CONFIG_NVRAM=m is really
228c2ecf20Sopenharmony_ci# CONFIG_NVRAM=y
238c2ecf20Sopenharmony_ciobj-$(CONFIG_NVRAM:m=y)		+= nvram.o
248c2ecf20Sopenharmony_ciobj-$(CONFIG_PPC32)		+= bootx_init.o
258c2ecf20Sopenharmony_ciobj-$(CONFIG_SMP)		+= smp.o
26