powerpc/book3s64/radix: Remove WARN_ON in destroy_context()
[linux-2.6-block.git] / arch / powerpc / platforms / powermac / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
d7f39454 2CFLAGS_bootx_init.o += -fPIC
c3ff2a51 3CFLAGS_bootx_init.o += $(call cc-option, -fno-stack-protector)
d7f39454 4
f072015c
CL
5KASAN_SANITIZE_bootx_init.o := n
6
7ifdef CONFIG_KASAN
8CFLAGS_bootx_init.o += -DDISABLE_BRANCH_PROFILING
9endif
10
606576ce 11ifdef CONFIG_FUNCTION_TRACER
4e491d14 12# Do not trace early boot code
2a056f58 13CFLAGS_REMOVE_bootx_init.o = $(CC_FLAGS_FTRACE)
4e491d14
SR
14endif
15
35499c01 16obj-y += pic.o setup.o time.o feature.o pci.o \
5b9ca526 17 sleep.o low_i2c.o cache.o pfunc_core.o \
9c4cb825 18 pfunc_base.o udbg_scc.o udbg_adb.o
f6d57916 19obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o
25985edc 20# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
21e38dfe
TB
21# need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really
22# CONFIG_NVRAM=y
23obj-$(CONFIG_NVRAM:m=y) += nvram.o
d7f39454 24obj-$(CONFIG_PPC32) += bootx_init.o
f6d57916 25obj-$(CONFIG_SMP) += smp.o