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
+ 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
+ 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
+ int "Kernel partition size (in MB)"
+ depends X86_GRUB_IMAGES
+ default 4
config X86_GRUB_ROOTPART
string
prompt "Root partition on target device" if X86_GRUB_IMAGES
default "/dev/hda2"
help
- The root partition on the final device. If you don't know,
+ The root partition on the final device. If you don't know,
you probably want the default (/dev/hda2).
config X86_GRUB_BOOTOPTS
prompt "Extra kernel boot options" if X86_GRUB_IMAGES
default ""
help
- If you don't know leave it blank
+ If you don't know, just leave it blank.
endef
define Image/Build/grub
- mkdir -p $(KDIR)/root.grub/boot/grub
+ mkdir -p $(KDIR)/root.grub/boot/grub
$(CP) \
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage1 \
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage2 \