diff options
author | 2009-06-11 02:12:28 +0000 | |
---|---|---|
committer | 2009-06-15 13:27:36 +1000 | |
commit | 7719ed7ce814aa89c6af082f6773dddc93c6f237 (patch) | |
tree | dcb5ed011b75da6e66eccdb3658675847ae0eebd /lib/fault-inject.c | |
parent | powerpc: Wire up sys_rt_tgsigqueueinfo (diff) | |
download | wireguard-linux-7719ed7ce814aa89c6af082f6773dddc93c6f237.tar.xz wireguard-linux-7719ed7ce814aa89c6af082f6773dddc93c6f237.zip |
powerpc: Only build prom_init.o when CONFIG_PPC_OF_BOOT_TRAMPOLINE=y
Commit 28794d34 ("powerpc/kconfig: Kill PPC_MULTIPLATFORM"), added
CONFIG_PPC_OF_BOOT_TRAMPOLINE to control the buliding of prom_init.o
However the Makefile still unconditionally builds prom_init_check,
the script that checks prom_init.o for symbol usage, and so in turn
prom_init.o is still always being built. (it's not linked though)
So surround all the prom_init_check logic with an ifeq block testing
if CONFIG_PPC_OF_BOOT_TRAMPOLINE is set.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions