summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-09-03 15:09:36 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-05 08:35:31 +0200
commit00d88a79453255ec56439af359aa3e805f1176dd (patch)
treefd9f5c9f1104930c8549212f247306982c71b721 /rules
parentd09ce5d4409b0a54f43815286dca1fb9f560c72f (diff)
downloadOSELAS.Toolchain-00d88a79453255ec56439af359aa3e805f1176dd.tar.gz
OSELAS.Toolchain-00d88a79453255ec56439af359aa3e805f1176dd.tar.xz
add make target to install the toolchain
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/post/ptxd_make_install.make21
1 files changed, 21 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_install.make b/rules/post/ptxd_make_install.make
new file mode 100644
index 0000000..c05655a
--- /dev/null
+++ b/rules/post/ptxd_make_install.make
@@ -0,0 +1,21 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+.PHONY: install
+
+toolchain/install = \
+ $(call ptx/env) \
+ ptx_install_destdir=$(DESTDIR) \
+ ptxd_make_toolchain_install
+
+install: world
+ @$(call targetinfo)
+ @$(call toolchain/install)
+ @$(call finish)
+
+# vim: syntax=make