extend X86_GRUB_ROOTPART selection to jffs2 images
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 27 Oct 2006 05:23:00 +0000 (05:23 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 27 Oct 2006 05:23:00 +0000 (05:23 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5308 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/image/x86/Makefile

index dfafe42..fd424ff 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
This page took 0.031488 seconds and 4 git commands to generate.