aboutsummaryrefslogtreecommitdiffstats
path: root/target/image/x86/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/image/x86/Makefile')
-rw-r--r--target/image/x86/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/image/x86/Makefile b/target/image/x86/Makefile
index 0860245453..8c0cde440f 100644
--- a/target/image/x86/Makefile
+++ b/target/image/x86/Makefile
@@ -25,7 +25,7 @@ ifeq ($(CONFIG_X86_GRUB_IMAGES),y)
endef
define Image/cmdline/ext2
- root=/dev/hda2 rootfstype=ext2
+ root=$(CONFIG_X86_GRUB_ROOTPART) rootfstype=ext2 $(CONFIG_X86_GRUB_BOOTOPTS)
endef
define Image/Build/grub