Merge tag 'for-linus-5.1a-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / arch / powerpc / platforms / powermac / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 CFLAGS_bootx_init.o             += -fPIC
3 CFLAGS_bootx_init.o             += $(call cc-option, -fno-stack-protector)
4
5 ifdef CONFIG_FUNCTION_TRACER
6 # Do not trace early boot code
7 CFLAGS_REMOVE_bootx_init.o = $(CC_FLAGS_FTRACE)
8 endif
9
10 obj-y                           += pic.o setup.o time.o feature.o pci.o \
11                                    sleep.o low_i2c.o cache.o pfunc_core.o \
12                                    pfunc_base.o udbg_scc.o udbg_adb.o
13 obj-$(CONFIG_PMAC_BACKLIGHT)    += backlight.o
14 # CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
15 # need this to be a bool.  Cheat here and pretend CONFIG_NVRAM=m is really
16 # CONFIG_NVRAM=y
17 obj-$(CONFIG_NVRAM:m=y)         += nvram.o
18 obj-$(CONFIG_PPC32)             += bootx_init.o
19 obj-$(CONFIG_SMP)               += smp.o