mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Merge pull request #8 from InPermutation/patch-1
“A minimal x86 kernel” fixes
This commit is contained in:
@@ -186,7 +186,7 @@ isofiles
|
||||
└── kernel.bin
|
||||
|
||||
```
|
||||
The `grub.cfg` specifies the file name of our kernel and it's Multiboot 2 compliance. It looks like this:
|
||||
The `grub.cfg` specifies the file name of our kernel and its Multiboot 2 compliance. It looks like this:
|
||||
|
||||
```
|
||||
set timeout=0
|
||||
@@ -265,9 +265,9 @@ run: $(iso)
|
||||
|
||||
iso: $(iso)
|
||||
|
||||
$(iso): $(kernel)
|
||||
$(iso): $(kernel) $(grub_cfg)
|
||||
@mkdir -p build/isofiles/boot/grub
|
||||
@cp $(kernel) build/isofiles/boot/
|
||||
@cp $(kernel) build/isofiles/boot/kernel.bin
|
||||
@cp $(grub_cfg) build/isofiles/boot/grub
|
||||
@grub-mkrescue -o $(iso) build/isofiles 2> /dev/null
|
||||
@rm -r build/isofiles
|
||||
|
||||
Reference in New Issue
Block a user