aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/olpc/image/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/olpc/image/Config.in')
-rw-r--r--target/linux/olpc/image/Config.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/olpc/image/Config.in b/target/linux/olpc/image/Config.in
new file mode 100644
index 0000000000..6252ae6d1f
--- /dev/null
+++ b/target/linux/olpc/image/Config.in
@@ -0,0 +1,35 @@
+config OLPC_GRUB_IMAGES
+ bool "Build GRUB images"
+ depends TARGET_olpc
+ depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS || TARGET_ROOTFS_ISO
+ select PACKAGE_grub
+ default y
+
+config OLPC_GRUB_IMAGES_PAD
+ bool "Pad GRUB images to filesystem size (for JFFS2)"
+ depends OLPC_GRUB_IMAGES
+
+config OLPC_GRUB_BAUDRATE
+ int "Serial port baud rate"
+ depends OLPC_GRUB_IMAGES
+ default 38400
+
+config OLPC_GRUB_KERNELPART
+ int "Kernel partition size (in MB)"
+ depends OLPC_GRUB_IMAGES
+ default 4
+
+config OLPC_GRUB_ROOTPART
+ string
+ prompt "Root partition on target device" if OLPC_GRUB_IMAGES
+ default "/dev/hda2"
+ help
+ The root partition on the final device. If you don't know,
+ you probably want the default (/dev/hda2).
+
+config OLPC_GRUB_BOOTOPTS
+ string
+ prompt "Extra kernel boot options" if OLPC_GRUB_IMAGES
+ default ""
+ help
+ If you don't know, just leave it blank.