.. | .. |
---|
1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
---|
2 | 2 | CFLAGS_bootx_init.o += -fPIC |
---|
| 3 | +CFLAGS_bootx_init.o += -fno-stack-protector |
---|
| 4 | + |
---|
| 5 | +KASAN_SANITIZE_bootx_init.o := n |
---|
| 6 | + |
---|
| 7 | +ifdef CONFIG_KASAN |
---|
| 8 | +CFLAGS_bootx_init.o += -DDISABLE_BRANCH_PROFILING |
---|
| 9 | +endif |
---|
3 | 10 | |
---|
4 | 11 | ifdef CONFIG_FUNCTION_TRACER |
---|
5 | 12 | # Do not trace early boot code |
---|
.. | .. |
---|
14 | 21 | # need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really |
---|
15 | 22 | # CONFIG_NVRAM=y |
---|
16 | 23 | obj-$(CONFIG_NVRAM:m=y) += nvram.o |
---|
17 | | -# ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff |
---|
18 | | -obj-$(CONFIG_PPC64) += nvram.o |
---|
19 | 24 | obj-$(CONFIG_PPC32) += bootx_init.o |
---|
20 | 25 | obj-$(CONFIG_SMP) += smp.o |
---|