grub: disable floating ncurses dependency for GPLv2 version

A dependency was being added on ncurses conditionally upon whether it
had been built first. Explicitly disable this dependency to stop this
from happening.

Note that grub 2.x does not need this same fix because there ncurses is only
used when building grub-emu, which is only built when the specified
target platform is "emu" which we do not use.

(From OE-Core rev: 2ca75dd0718ec37d7f131b8bcd841de6e876bd07)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2013-08-01 18:17:59 +01:00 committed by Richard Purdie
parent ac60aa8cf7
commit 176ad0db2c
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ inherit autotools
COMPATIBLE_HOST = "i.86.*-linux"
EXTRA_OECONF = "--without-curses"
do_install_append_vmware() {
mkdir -p ${D}/boot/
ln -sf ../usr/lib/grub/{$TARGET_ARCH}{$TARGET_VENDOR}/ ${D}/boot/grub