From: Jo-Philipp Wich Date: Sat, 10 Jan 2009 23:12:21 +0000 (+0000) Subject: Use wildcards to copy grub stage files, will cover both i386-pc and i386-openwrt... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e0440fefb667c6a71e8b9dc64d1c12ea4d627351;p=openwrt%2Fstaging%2Frmilecki.git Use wildcards to copy grub stage files, will cover both i386-pc and i386-openwrt directory names SVN-Revision: 13963 --- diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index a740b0b63c3..4d766399238 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-openwrt/stage1 \ - $(STAGING_DIR_HOST)/usr/lib/grub/i386-openwrt/stage2 \ - $(STAGING_DIR_HOST)/usr/lib/grub/i386-openwrt/e2fs_stage1_5 \ + $(STAGING_DIR_HOST)/usr/lib/grub/i386-*/stage1 \ + $(STAGING_DIR_HOST)/usr/lib/grub/i386-*/stage2 \ + $(STAGING_DIR_HOST)/usr/lib/grub/i386-*/e2fs_stage1_5 \ $(KDIR)/ endef else