Skip to content

Commit ce509cd

Browse files
committed
.
1 parent d66c484 commit ce509cd

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Makefile

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,20 @@ kernel/kernel.o
2323
prep:
2424
@printf "Preparing...\n"
2525
@sudo apt-get install xorriso mtools grub-common
26-
@mkdir -p ~/local/bin
27-
@tar -xf grub.tar.xz -C ~/local
26+
@mkdir -p ~/local
27+
@pushd ~/local
28+
@git clone https://git.savannah.gnu.org/git/grub.git
29+
@sudo apt-get install \
30+
make \
31+
binutils \
32+
bison \
33+
gcc \
34+
gettext \
35+
flex
36+
@./configure --with-platform=pc
37+
@make
38+
@sudo make install
39+
@popd
2840
@ls $(GRUB)
2941

3042
%.o: %.cpp
-1.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)