[Buildroot] [PATCH] Permit building grub with an external toolchain.

Clark Rawlins clark.rawlins at escient.com
Sat Jan 2 22:46:16 UTC 2010


Grub build failed at the link stage because it
couldn't find libcurses. Adding these variable
invocations to the configure line make it work.

Signed-off-by: Clark Rawlins <clark.rawlins at escient.com>
---
 target/x86/grub/grub.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/target/x86/grub/grub.mk b/target/x86/grub/grub.mk
index af46244..21f089f 100644
--- a/target/x86/grub/grub.mk
+++ b/target/x86/grub/grub.mk
@@ -81,6 +81,8 @@ $(GRUB_DIR)/.unpacked: $(DL_DIR)/$(GRUB_SOURCE) $(DL_DIR)/$(GRUB_PATCH)
 $(GRUB_DIR)/.configured: $(GRUB_DIR)/.unpacked
 	(cd $(GRUB_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
+		$(TARGET_CONFIGURE_ARGS) \
+		$(TARGET_CONFIGURE_ENV) \
 		CFLAGS="$(TARGET_CFLAGS)" \
 		CPPFLAGS="$(GRUB_CFLAGS)" \
 		./configure $(QUIET) \
-- 
1.6.3.3




More information about the buildroot mailing list