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 15:45:19 +01:00
committed by Philipp Oppermann
parent 1e90a1e78d
commit 9ecaf0fe0c

View File

@@ -37,7 +37,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