Add local grub
This commit is contained in:
parent
6b8e97dc50
commit
2e66bb5fbe
2
Makefile
2
Makefile
@ -58,7 +58,7 @@ PWD := $(shell pwd | sed 's/"/\\\"/g;s/\$$/\\\$$/g')
|
|||||||
all: $(MULTIBOOT_IMAGE)
|
all: $(MULTIBOOT_IMAGE)
|
||||||
|
|
||||||
$(MULTIBOOT_IMAGE): $(KERNEL_LOAD)
|
$(MULTIBOOT_IMAGE): $(KERNEL_LOAD)
|
||||||
./support/build_image.sh $@ $<
|
./support/build_image.sh $@ $< ""
|
||||||
|
|
||||||
$(KERNEL_LOAD): $(KERNEL_OBJ)
|
$(KERNEL_LOAD): $(KERNEL_OBJ)
|
||||||
$(CP) $< $<.strip && $(STRIP) -sx -R .comment $<.strip
|
$(CP) $< $<.strip && $(STRIP) -sx -R .comment $<.strip
|
||||||
|
BIN
grub/stage1
Normal file
BIN
grub/stage1
Normal file
Binary file not shown.
BIN
grub/stage2
Normal file
BIN
grub/stage2
Normal file
Binary file not shown.
@ -49,8 +49,8 @@ print_usage () {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
grub_dirs_common="/usr/local/share/grub/i386-freebsd /usr/local/share/grub/i386-pc /usr/share/grub/i386-pc /usr/lib/grub/i386-pc /usr/local/grub /usr/share/grub/i386-redhat /usr/local/src/grub-0.5.94 $HOME/share/grub/i386-pc/ /usr/lib/grub/x86_64-unknown"
|
grub_dirs_common="$PWD/grub /usr/local/share/grub/i386-freebsd /usr/local/share/grub/i386-pc /usr/share/grub/i386-pc /usr/lib/grub/i386-pc /usr/local/grub /usr/share/grub/i386-redhat /usr/local/src/grub-0.5.94 $HOME/share/grub/i386-pc/ /usr/lib/grub/x86_64-unknown"
|
||||||
sbin_grub_path="/usr/local/sbin /usr/sbin /sbin $HOME/sbin"
|
sbin_grub_path="/usr/local/sbin /usr/sbin /sbin $HOME/sbin $PWD/grub"
|
||||||
|
|
||||||
PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
|
PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
|
||||||
export PATH
|
export PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user