x86: Fix CONFIG_X86_GRUB_SERIAL=""
authorFelix Fietkau <nbd@openwrt.org>
Sat, 10 Aug 2013 18:35:29 +0000 (18:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 10 Aug 2013 18:35:29 +0000 (18:35 +0000)
commit7438206dc64164bbc85faa95fca9002219edf01b
tree0417d4e642cc98f4b90bddaeac9554d5822042ec
parentc4fbc417be60262fd30a4b5c6ef3221f86a5b363
x86: Fix CONFIG_X86_GRUB_SERIAL=""

With

    .config:CONFIG_X86_GRUB_SERIAL=""

which (AFAICT) is the way to tell GRUB not to use a serial console, in

    target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),)

$(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote),
making the condition unconditionally false.

This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through
qstrip before testing.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
SVN-Revision: 37749
target/linux/x86/image/Makefile