mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
some minor cleanup
SVN-Revision: 5294
This commit is contained in:
parent
22e8c9d05e
commit
f7e31a4be9
@ -1,25 +1,25 @@
|
|||||||
config X86_GRUB_IMAGES
|
config X86_GRUB_IMAGES
|
||||||
bool "Build GRUB images (Linux x86 or x86_64 host only)"
|
bool "Build GRUB images (Linux x86 or x86_64 host only)"
|
||||||
depends LINUX_2_6_X86
|
depends LINUX_2_6_X86
|
||||||
depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2
|
depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config X86_GRUB_BAUDRATE
|
config X86_GRUB_BAUDRATE
|
||||||
int "Serial port baud rate"
|
int "Serial port baud rate"
|
||||||
depends X86_GRUB_IMAGES
|
depends X86_GRUB_IMAGES
|
||||||
default 38400
|
default 38400
|
||||||
|
|
||||||
config X86_GRUB_KERNELPART
|
config X86_GRUB_KERNELPART
|
||||||
int "Kernel partition size (in MB)"
|
int "Kernel partition size (in MB)"
|
||||||
depends X86_GRUB_IMAGES
|
depends X86_GRUB_IMAGES
|
||||||
default 4
|
default 4
|
||||||
|
|
||||||
config X86_GRUB_ROOTPART
|
config X86_GRUB_ROOTPART
|
||||||
string
|
string
|
||||||
prompt "Root partition on target device" if X86_GRUB_IMAGES
|
prompt "Root partition on target device" if X86_GRUB_IMAGES
|
||||||
default "/dev/hda2"
|
default "/dev/hda2"
|
||||||
help
|
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).
|
you probably want the default (/dev/hda2).
|
||||||
|
|
||||||
config X86_GRUB_BOOTOPTS
|
config X86_GRUB_BOOTOPTS
|
||||||
@ -27,4 +27,4 @@ config X86_GRUB_BOOTOPTS
|
|||||||
prompt "Extra kernel boot options" if X86_GRUB_IMAGES
|
prompt "Extra kernel boot options" if X86_GRUB_IMAGES
|
||||||
default ""
|
default ""
|
||||||
help
|
help
|
||||||
If you don't know leave it blank
|
If you don't know, just leave it blank.
|
||||||
|
@ -29,7 +29,7 @@ ifeq ($(CONFIG_X86_GRUB_IMAGES),y)
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/grub
|
define Image/Build/grub
|
||||||
mkdir -p $(KDIR)/root.grub/boot/grub
|
mkdir -p $(KDIR)/root.grub/boot/grub
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage1 \
|
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage1 \
|
||||||
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage2 \
|
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage2 \
|
||||||
|
Loading…
Reference in New Issue
Block a user