[oe-commits] Paul Eggleton : grub: disable floating ncurses dependency for GPLv2 version

git at git.openembedded.org git at git.openembedded.org
Sat Aug 3 09:23:54 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 2ca75dd0718ec37d7f131b8bcd841de6e876bd07
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2ca75dd0718ec37d7f131b8bcd841de6e876bd07

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Thu Aug  1 18:17:59 2013 +0100

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.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-bsp/grub/grub_0.97.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/grub/grub_0.97.bb b/meta/recipes-bsp/grub/grub_0.97.bb
index 6971193..38f3912 100644
--- a/meta/recipes-bsp/grub/grub_0.97.bb
+++ b/meta/recipes-bsp/grub/grub_0.97.bb
@@ -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



More information about the Openembedded-commits mailing list