some minor cleanup
[openwrt.git] / target / image / x86 / Makefile
index 0860245..dfafe42 100644 (file)
@@ -25,11 +25,11 @@ ifeq ($(CONFIG_X86_GRUB_IMAGES),y)
   endef
 
   define Image/cmdline/ext2
-    root=/dev/hda2 rootfstype=ext2
+    root=$(CONFIG_X86_GRUB_ROOTPART) rootfstype=ext2 $(CONFIG_X86_GRUB_BOOTOPTS)
   endef
 
   define Image/Build/grub
-       mkdir -p $(KDIR)/root.grub/boot/grub
+       mkdir -p $(KDIR)/root.grub/boot/grub
        $(CP) \
                $(STAGING_DIR)/usr/lib/grub/i386-pc/stage1 \
                $(STAGING_DIR)/usr/lib/grub/i386-pc/stage2 \
This page took 0.021249 seconds and 4 git commands to generate.