Add local grub

This commit is contained in:
Mathieu Maret 2018-07-19 11:31:04 +02:00
parent 6b8e97dc50
commit 2e66bb5fbe
5 changed files with 3 additions and 3 deletions

View File

@ -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/grub Executable file

Binary file not shown.

BIN
grub/stage1 Normal file

Binary file not shown.

BIN
grub/stage2 Normal file

Binary file not shown.

View File

@ -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