extend X86_GRUB_ROOTPART selection to jffs2 images
authorFelix Fietkau <nbd@openwrt.org>
Fri, 27 Oct 2006 05:23:00 +0000 (05:23 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 27 Oct 2006 05:23:00 +0000 (05:23 +0000)
SVN-Revision: 5308

target/image/x86/Makefile

index dfafe4241f30ee0d46c239b1323963f9a0673ec6..fd424ffd0046d8062a1d951a48c77a0725b4b2d2 100644 (file)
@@ -17,11 +17,11 @@ ifeq ($(CONFIG_X86_GRUB_IMAGES),y)
   endef
 
   define Image/cmdline/jffs2-64k
-    block2mtd.block2mtd=/dev/hda2,65536 root=/dev/mtdblock0 rootfstype=jffs2
+    block2mtd.block2mtd=$(CONFIG_X86_GRUB_ROOTPART),65536 root=/dev/mtdblock0 rootfstype=jffs2
   endef
 
   define Image/cmdline/jffs2-128k
-    block2mtd.block2mtd=/dev/hda2,131072 root=/dev/mtdblock0 rootfstype=jffs2
+    block2mtd.block2mtd=$(CONFIG_X86_GRUB_ROOTPART),131072 root=/dev/mtdblock0 rootfstype=jffs2
   endef
 
   define Image/cmdline/ext2