X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fx86%2Fimage%2FMakefile;h=4d766399238170607e84dee4db7c9f3b759b827e;hb=39c762c59467bf6792befddbf9897c8ced5c2d8c;hp=9bd2eada6b43fd0083832ae3512e7809f62104f3;hpb=4d0450885f8b1836e18eecc1b2e7962838c8c1b7;p=openwrt-10.03%2F.git diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index 9bd2eada6..4d7663992 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-*/stage1 \ + $(STAGING_DIR_HOST)/usr/lib/grub/i386-*/stage2 \ + $(STAGING_DIR_HOST)/usr/lib/grub/i386-*/e2fs_stage1_5 \ $(KDIR)/ endef else @@ -66,7 +66,7 @@ ifeq ($(CONFIG_X86_VDI_IMAGES),y) # left here because the image builder doesnt need these ifeq ($(1),ext2) rm $(BIN_DIR)/openwrt-$(BOARD)-ext2.vdi || true - vditool DD $(BIN_DIR)/openwrt-$(BOARD)-ext2.vdi $(BIN_DIR)/openwrt-$(BOARD)-ext2.image + VBoxManage convertfromraw -format VDI $(BIN_DIR)/openwrt-$(BOARD)-ext2.image $(BIN_DIR)/openwrt-$(BOARD)-ext2.vdi endif endef endif @@ -121,8 +121,8 @@ endef $(eval $(call BuildImage)) ifeq ($(CONFIG_X86_VDI_IMAGES),y) - $(eval $(call RequireCommand,vditool, \ - You need vditool to generate VirtualBox images. \ + $(eval $(call RequireCommand,VBoxManage, \ + You need VBoxManage to generate VirtualBox images. \ )) endif