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

SVN-Revision: 13963
This commit is contained in:
Jo-Philipp Wich 2009-01-10 23:12:21 +00:00
parent a455323221
commit e0440fefb6

View File

@ -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