]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/boot/compressed/Makefile
x86, boot: Don't compile early_serial_console.c when !CONFIG_EARLY_PRINTK
authorJosh Triplett <josh@joshtriplett.org>
Mon, 10 Mar 2014 20:26:10 +0000 (13:26 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Sun, 17 Aug 2014 21:58:24 +0000 (14:58 -0700)
commit3afed06a355b5525d9a87bcb76567ef2e2e7b3a2
tree6f3521a41627db95cd9cccae44921bb26787ae35
parent9e6abd2a98ca599e0efb8c46acc17f17dc1a6fe9
x86, boot: Don't compile early_serial_console.c when !CONFIG_EARLY_PRINTK

All the code in early_serial_console.c gets compiled out if
!CONFIG_EARLY_PRINTK, but early_serial_console.o itself still gets
compiled in.  Eliminate it from the compile entirely in that case.

This does not change the generated code at all, in either case.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
arch/x86/boot/compressed/Makefile
arch/x86/boot/compressed/early_serial_console.c