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:
Jacob Krall
2015-10-26 00:52:12 -04:00
committed by Philipp Oppermann
parent 93f042da4c
commit 0a165becfe

View File

@@ -265,7 +265,7 @@ run: $(iso)
iso: $(iso)
$(iso): $(kernel)
$(iso): $(kernel) $(grub_cfg)
@mkdir -p build/isofiles/boot/grub
@cp $(kernel) build/isofiles/boot/
@cp $(grub_cfg) build/isofiles/boot/grub