aboutsummaryrefslogtreecommitdiffstats
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
commit50525d647065b48db63eb738aa5eab4379d6fbe2 (patch)
tree23eaa9c7e9190343bc775b5555222f29423b8ced
parent53b1c42736f8d2b42225d4734e4ebf5d8eb00577 (diff)
downloadupstream-50525d647065b48db63eb738aa5eab4379d6fbe2.tar.gz
upstream-50525d647065b48db63eb738aa5eab4379d6fbe2.tar.bz2
upstream-50525d647065b48db63eb738aa5eab4379d6fbe2.zip
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