diff options
author | Matt Redfearn <[email protected]> | 2017-11-14 15:44:22 +0000 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2018-01-10 16:38:11 +0100 |
commit | ff9bed94d0f3b82d0fff3599cf0eb2cadf0fc770 (patch) | |
tree | e44219421a900ab6c7d0d81e5e22d3da79cd1785 /tools/perf/util/scripting-engines | |
parent | 9dd79fed1bed6089f9729027e2d8cfa1049266e5 (diff) |
MIPS: RB532: Avoid undefined early_serial_setup() without SERIAL_8250_CONSOLE
Currently MIPS allnoconfig with CONFIG_MIKROTIK_RB532=y fails to link due to
missing support for early_serial_setup():
LD vmlinux
arch/mips/rb532/serial.o: In function `setup_serial_port':
serial.c:(.init.text+0x14): undefined reference to `early_serial_setup'
Rather than adding dependencies to the platform to force inclusion of
SERIAL_8250_CONSOLE together with it's dependencies like TTY, HAS_IOMEM,
etc, just exclude arch/mips/rb532/serial.c from the build when it's
dependency is not selected in the kernel config.
Reported-by: Ralf Baechle <[email protected]>
Signed-off-by: Matt Redfearn <[email protected]>
Cc: James Hogan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/17701/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions