mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Merge pull request #12 from phil-opp/a_minimal_kernel_fixes
Makefile fixes
This commit is contained in:
4
Makefile
4
Makefile
@@ -37,9 +37,9 @@ run: $(iso)
|
|||||||
|
|
||||||
iso: $(iso)
|
iso: $(iso)
|
||||||
|
|
||||||
$(iso): $(kernel)
|
$(iso): $(kernel) $(grub_cfg)
|
||||||
@mkdir -p build/isofiles/boot/grub
|
@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
|
@cp $(grub_cfg) build/isofiles/boot/grub
|
||||||
@grub-mkrescue -o $(iso) build/isofiles 2> /dev/null
|
@grub-mkrescue -o $(iso) build/isofiles 2> /dev/null
|
||||||
@rm -r build/isofiles
|
@rm -r build/isofiles
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ set timeout=0
|
|||||||
set default=0
|
set default=0
|
||||||
|
|
||||||
menuentry "my os" {
|
menuentry "my os" {
|
||||||
multiboot2 /boot/kernel-x86_64.bin
|
multiboot2 /boot/kernel.bin
|
||||||
boot
|
boot
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user