From 0519ddafe46339eac11120e7f593c4176027c706 Mon Sep 17 00:00:00 2001 From: Diego Herranz Date: Tue, 11 Nov 2014 16:36:30 +0100 Subject: [PATCH] usbboot: Add uninstall target to Makefile plus .PHONY targets. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) 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 -- libgit2 0.21.4