Commit 0519ddafe46339eac11120e7f593c4176027c706
Committed by
Gordon Hollingworth
1 parent
2652a942
usbboot: Add uninstall target to Makefile plus .PHONY targets.
Showing
1 changed file
with
9 additions
and
0 deletions
Makefile
| ... | ... | @@ -8,5 +8,14 @@ install: rpiboot |
| 8 | 8 | cp msd.elf /usr/share/rpiboot |
| 9 | 9 | cp buildroot.elf /usr/share/rpiboot |
| 10 | 10 | |
| 11 | +uninstall: | |
| 12 | + rm -f /usr/bin/rpiboot | |
| 13 | + rm -f /usr/share/rpiboot/usbbootcode.bin | |
| 14 | + rm -f /usr/share/rpiboot/msd.elf | |
| 15 | + rm -f /usr/share/rpiboot/buildroot.elf | |
| 16 | + rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/ | |
| 17 | + | |
| 11 | 18 | clean: |
| 12 | 19 | rm rpiboot |
| 20 | + | |
| 21 | +.PHONY: install uninstall clean | ... | ... |