summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-01-06 17:11:41 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-01-06 17:13:31 +0100
commitb2465e075b56461955157193ff02fdb973d9cbb3 (patch)
tree5f2da656224f28a2c84d9f9a98065070a4dd3600
parent320512bc93148e898598926112cac3e8db4fe774 (diff)
downloadptxdist-b2465e075b56461955157193ff02fdb973d9cbb3.tar.gz
ptxdist-b2465e075b56461955157193ff02fdb973d9cbb3.tar.xz
rules/pre: add ptx/mirror macro for multiple mirror URLs
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/pre/mirror.make13
1 files changed, 13 insertions, 0 deletions
diff --git a/rules/pre/mirror.make b/rules/pre/mirror.make
new file mode 100644
index 000000000..74f9ec0e1
--- /dev/null
+++ b/rules/pre/mirror.make
@@ -0,0 +1,13 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+ptx/mirror = $(foreach mirror,$(PTXCONF_SETUP_$(strip $(1))MIRROR),$(mirror)/$(strip $(2)))
+
+# vim: syntax=make