aboutsummaryrefslogtreecommitdiffstats
path: root/target/image/x86
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-27 05:23:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-27 05:23:00 +0000
commit5d434d99598e0f50e031102dc7618849f2f4bc19 (patch)
tree5bd144c05cfe6f49f2ad9619cc372b526abcf99b /target/image/x86
parentb1f7fe7b063e197991d33d8826fc56e701b032c9 (diff)
downloadupstream-5d434d99598e0f50e031102dc7618849f2f4bc19.tar.gz
upstream-5d434d99598e0f50e031102dc7618849f2f4bc19.tar.bz2
upstream-5d434d99598e0f50e031102dc7618849f2f4bc19.zip
extend X86_GRUB_ROOTPART selection to jffs2 images
SVN-Revision: 5308
Diffstat (limited to 'target/image/x86')
-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