summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-06-17 17:13:34 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-06-17 17:13:34 +0200
commit5e20b4b7b3a081de1299fe4a5e1df04f3cb6cf1c (patch)
tree51279c5f736f595511c60a3574dc3a25215856c2
parent800d458f32d6ba85303590dcc4dbd0d3366a9d2b (diff)
downloadexynos-gpio-tool-5e20b4b7b3a081de1299fe4a5e1df04f3cb6cf1c.tar.gz
exynos-gpio-tool-5e20b4b7b3a081de1299fe4a5e1df04f3cb6cf1c.tar.bz2
exynos-gpio-tool-5e20b4b7b3a081de1299fe4a5e1df04f3cb6cf1c.zip
Makefile: add install targetHEADmastermain
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-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)/