add grub based images for x86-2.6 - still a bit hackish, but works with ext2 and...
[openwrt-10.03/.git] / target / image / x86 / Config.in
diff --git a/target/image/x86/Config.in b/target/image/x86/Config.in
new file mode 100644 (file)
index 0000000..fa61468
--- /dev/null
@@ -0,0 +1,20 @@
+config X86_GRUB_IMAGES
+       bool "Build GRUB images (Linux x86 or x86_64 host only)"
+       depends LINUX_2_6_X86
+       depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2
+       default y
+
+config X86_GRUB_BAUDRATE
+       int "Serial port baud rate"
+       depends X86_GRUB_IMAGES
+       default 38400
+
+config X86_GRUB_KERNELPART
+       int "Kernel partition size (in MB)"
+       depends X86_GRUB_IMAGES
+       default 4
+
+config X86_GRUB_FSPART
+       int "Filesystem partition size (in MB)"
+       depends X86_GRUB_IMAGES
+       default 16