Skip to content

Commit aa6ebdf

Browse files
committed
* Updated Makefile
1 parent 06f3804 commit aa6ebdf

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

.github/workflows/c-cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: install tools
1717
run: make prep
1818
- name: make move
19-
run: make move GRUB=~/local/bin/
19+
run: make move GRUB=pt
2020

2121
- name: Upload Build files
2222
uses: actions/upload-artifact@v2

Makefile

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,7 @@ kernel/kernel.o
2222

2323
prep:
2424
@printf "Preparing...\n"
25-
@sudo apt-get install xorriso mtools grub-common
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-
@cd grub
37-
@./configure --with-platform=pc
38-
@make
39-
@sudo make install
40-
@popd
41-
@ls $(GRUB)
25+
@sudo apt-get install xorriso mtools grub-pc-bin grub-pc-bin-extra
4226

4327
%.o: %.cpp
4428
@printf "\e[1;32m[1/3]Compiling $<\n\e[0m"

grub.tar.xz

-5.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)