Ver código fonte

Use wildcards to copy grub stage files, will cover both i386-pc and i386-openwrt directory names

SVN-Revision: 13963
Jo-Philipp Wich 17 anos atrás
pai
commit
e0440fefb6
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      target/linux/x86/image/Makefile

+ 3 - 3
target/linux/x86/image/Makefile

@@ -49,9 +49,9 @@ ifneq ($(HOST_OS),Darwin)
   define Image/Prepare/grub
   define Image/Prepare/grub
 	# for the image builder
 	# for the image builder
 	$(CP) \
 	$(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)/
 		$(KDIR)/
   endef
   endef
 else
 else