summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-27 05:23:00 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-27 05:23:00 +0000
commitf2a27506520f0e010b3b3325a8a940d3d3257351 (patch)
tree23eaa9c7e9190343bc775b5555222f29423b8ced
parent47dd20ea8fc289845455f39ecfaee218795cb201 (diff)
extend X86_GRUB_ROOTPART selection to jffs2 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5308 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/image/x86/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/image/x86/Makefile b/target/image/x86/Makefile
index dfafe4241f..fd424ffd00 100644
--- a/target/image/x86/Makefile
+++ b/target/image/x86/Makefile
@@ -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