From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu, 8 Jan 2009 16:51:01 +0000 (+0000)
Subject: [x86] fix grub installation on target images, regression caused by multi-libc support
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/144f1efa5a0c4f35c4f09589f0f7ca1f767bb209

[x86] fix grub installation on target images, regression caused by multi-libc support


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13936 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
index 839646e54..a740b0b63 100644
--- a/target/linux/x86/image/Makefile
+++ b/target/linux/x86/image/Makefile
@@ -49,9 +49,9 @@ ifneq ($(HOST_OS),Darwin)
   define Image/Prepare/grub
 	# for the image builder
 	$(CP) \
-		$(STAGING_DIR_HOST)/usr/lib/grub/i386-pc/stage1 \
-		$(STAGING_DIR_HOST)/usr/lib/grub/i386-pc/stage2 \
-		$(STAGING_DIR_HOST)/usr/lib/grub/i386-pc/e2fs_stage1_5 \
+		$(STAGING_DIR_HOST)/usr/lib/grub/i386-openwrt/stage1 \
+		$(STAGING_DIR_HOST)/usr/lib/grub/i386-openwrt/stage2 \
+		$(STAGING_DIR_HOST)/usr/lib/grub/i386-openwrt/e2fs_stage1_5 \
 		$(KDIR)/
   endef
 else