summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fc7524b..fad697d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
-.PHONY: clean run sync test
+.PHONY: clean install run sync test
+
+PREFIX ?= usr/bin
SOURCE := \
compatible_devices.c \
@@ -21,3 +23,6 @@ clean:
sync: clean
rsync -av $$PWD u-boot-i9300-local:
+
+install: exynos-gpio-tool
+ install $< -t $(DESTDIR)/$(PREFIX)/