Makefile (498495dba268b20e8eadd7fe93c140c68b6cc9d2) Makefile (2a056f58fd33ccc6a0261b552b0f17e7fa4a12f3)
1# SPDX-License-Identifier: GPL-2.0
2CFLAGS_bootx_init.o += -fPIC
3
4ifdef CONFIG_FUNCTION_TRACER
5# Do not trace early boot code
1# SPDX-License-Identifier: GPL-2.0
2CFLAGS_bootx_init.o += -fPIC
3
4ifdef CONFIG_FUNCTION_TRACER
5# Do not trace early boot code
6CFLAGS_REMOVE_bootx_init.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
6CFLAGS_REMOVE_bootx_init.o = $(CC_FLAGS_FTRACE)
7endif
8
9obj-y += pic.o setup.o time.o feature.o pci.o \
10 sleep.o low_i2c.o cache.o pfunc_core.o \
11 pfunc_base.o udbg_scc.o udbg_adb.o
12obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o
13# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
14# need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really
15# CONFIG_NVRAM=y
16obj-$(CONFIG_NVRAM:m=y) += nvram.o
17# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
18obj-$(CONFIG_PPC64) += nvram.o
19obj-$(CONFIG_PPC32) += bootx_init.o
20obj-$(CONFIG_SMP) += smp.o
7endif
8
9obj-y += pic.o setup.o time.o feature.o pci.o \
10 sleep.o low_i2c.o cache.o pfunc_core.o \
11 pfunc_base.o udbg_scc.o udbg_adb.o
12obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o
13# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
14# need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really
15# CONFIG_NVRAM=y
16obj-$(CONFIG_NVRAM:m=y) += nvram.o
17# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
18obj-$(CONFIG_PPC64) += nvram.o
19obj-$(CONFIG_PPC32) += bootx_init.o
20obj-$(CONFIG_SMP) += smp.o