diff --git a/Makefile b/Makefile index 64ff215..3e7d1e4 100644 --- a/Makefile +++ b/Makefile @@ -8,5 +8,14 @@ install: rpiboot cp msd.elf /usr/share/rpiboot cp buildroot.elf /usr/share/rpiboot +uninstall: + rm -f /usr/bin/rpiboot + rm -f /usr/share/rpiboot/usbbootcode.bin + rm -f /usr/share/rpiboot/msd.elf + rm -f /usr/share/rpiboot/buildroot.elf + rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/ + clean: rm rpiboot + +.PHONY: install uninstall clean