mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Explicitly rename copied kernel to kernel.bin
Otherwise your `grub.cfg` from earlier in the article will be out of date (we're producing `kernel-x86_64.bin`, but grub expects `kernel.bin`).
This commit is contained in:
committed by
Philipp Oppermann
parent
9ecaf0fe0c
commit
37b576eb3c
2
Makefile
2
Makefile
@@ -39,7 +39,7 @@ iso: $(iso)
|
|||||||
|
|
||||||
$(iso): $(kernel) $(grub_cfg)
|
$(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
|
||||||
|
|||||||
Reference in New Issue
Block a user