Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 CFLAGS_bootx_init.o             += -fPIC
0003 CFLAGS_bootx_init.o             += -fno-stack-protector
0004 
0005 KASAN_SANITIZE_bootx_init.o := n
0006 
0007 ifdef CONFIG_KASAN
0008 CFLAGS_bootx_init.o             += -DDISABLE_BRANCH_PROFILING
0009 endif
0010 
0011 ifdef CONFIG_FUNCTION_TRACER
0012 # Do not trace early boot code
0013 CFLAGS_REMOVE_bootx_init.o = $(CC_FLAGS_FTRACE)
0014 endif
0015 
0016 obj-y                           += pic.o setup.o time.o feature.o pci.o \
0017                                    sleep.o low_i2c.o cache.o pfunc_core.o \
0018                                    pfunc_base.o udbg_scc.o udbg_adb.o
0019 obj-$(CONFIG_PMAC_BACKLIGHT)    += backlight.o
0020 # CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
0021 # need this to be a bool.  Cheat here and pretend CONFIG_NVRAM=m is really
0022 # CONFIG_NVRAM=y
0023 obj-$(CONFIG_NVRAM:m=y)         += nvram.o
0024 obj-$(CONFIG_PPC32)             += bootx_init.o
0025 obj-$(CONFIG_SMP)               += smp.o