2005-07-24 Yoshinori K. Okuji <okuji@enbug.org>
* DISTLIST: Added util/i386/pc/grub-install.in. * util/i386/pc/grub-install.in: New file. * conf/i386-pc.rmk (sbin_SCRIPTS): New variable. (grub_install_SOURCES): Likewise. * genmk.rb: Added support for scripts. (Script): New class. (scripts): New variable. * Makefile.in (install-local): Install sbin_SCRIPTS by INSTALL_SCRIPT. (uninstall): Remove sbin_SCRIPTS. * util/i386/pc/grub-setup.c (main): If the argument is not a GRUB device, try to get a GRUB device by grub_util_biosdisk_get_grub_dev. Free DEST_DEV. * util/i386/pc/grub-mkdevicemap.c (usage): Remove a duplicated description for --device-map.
This commit is contained in:
parent
5f968e1e61
commit
075a165076
8 changed files with 300 additions and 16 deletions
|
@ -972,6 +972,17 @@ genmoddep-util_genmoddep.d: util/genmoddep.c
|
|||
-include genmoddep-util_genmoddep.d
|
||||
|
||||
|
||||
# Scripts.
|
||||
sbin_SCRIPTS = grub-install
|
||||
|
||||
# For grub-install.
|
||||
grub_install_SOURCES = util/i386/pc/grub-install.in
|
||||
CLEANFILES += grub-install
|
||||
|
||||
grub-install: util/i386/pc/grub-install.in config.status
|
||||
./config.status --file=grub-install:util/i386/pc/grub-install.in
|
||||
|
||||
|
||||
# Modules.
|
||||
pkgdata_MODULES = _chain.mod _linux.mod linux.mod fat.mod ufs.mod \
|
||||
ext2.mod minix.mod hfs.mod jfs.mod normal.mod hello.mod vga.mod \
|
||||
|
|
|
@ -90,6 +90,12 @@ grub_emu_LDFLAGS = -lncurses
|
|||
# For genmoddep.
|
||||
genmoddep_SOURCES = util/genmoddep.c
|
||||
|
||||
# Scripts.
|
||||
sbin_SCRIPTS = grub-install
|
||||
|
||||
# For grub-install.
|
||||
grub_install_SOURCES = util/i386/pc/grub-install.in
|
||||
|
||||
# Modules.
|
||||
pkgdata_MODULES = _chain.mod _linux.mod linux.mod fat.mod ufs.mod \
|
||||
ext2.mod minix.mod hfs.mod jfs.mod normal.mod hello.mod vga.mod \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue