mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
make iso depends on grub.cfg
This way, if you fix a typo in grub.cfg, you don't have to `make clean` to get `make iso` to pick it up.
This commit is contained in:
committed by
Philipp Oppermann
parent
1e90a1e78d
commit
9ecaf0fe0c
2
Makefile
2
Makefile
@@ -37,7 +37,7 @@ 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/
|
||||||
@cp $(grub_cfg) build/isofiles/boot/grub
|
@cp $(grub_cfg) build/isofiles/boot/grub
|
||||||
|
|||||||
Reference in New Issue
Block a user