Skip to content

Commit 21ca8a2

Browse files
committed
* Updated Makefile
* Updated Build Date
1 parent 8961198 commit 21ca8a2

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/c-cpp.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- name: install tools
1717
run: make prep
18+
- name: Install grub
19+
run: make Install-Grub-BIOS
1820
- name: make move
19-
run: make move GRUB=pt
21+
run: make move
2022

2123
- name: Upload Build files
2224
uses: actions/upload-artifact@v2

Includes/Public_VAR.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inline char* OS_NAME = "SectorOS";
55

66
inline char* KERNEL_NAME = "SectorOS";
77
inline char* KERNEL_VERSION = "V1.3.1";
8-
inline char* KERNEL_BUILD = "Build: 2021-10-02";
8+
inline char* KERNEL_BUILD = "Build: 2021-11-16";
99
inline char* KERNEL_ARCH = "x86";
1010

1111
inline char* SHELL_NAME = "SOSH";

Makefile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,17 @@ stopVBOX:
8181
.PHONY: clean
8282
clean:
8383
@printf "\e[1;31mCleaning the object files...\n\e[0m"
84-
@rm -f $(objects) SectorOS_Kernel.bin SectorOS.iso
84+
@rm -f $(objects) SectorOS_Kernel.bin SectorOS.
85+
86+
.PHONY: Install-Grub-BIOS
87+
Install-Grub-BIOS:
88+
pushd /tmp/
89+
git clone https://git.savannah.gnu.org/git/grub.git
90+
cd grub
91+
sudo apt-get install build-essential autoconf automake
92+
./bootstrap
93+
./autogen.sh
94+
./configure --prefix=$HOME/local --platform=pc-i386
95+
make
96+
sudo make install
97+
popd

0 commit comments

Comments
 (0)