summaryrefslogtreecommitdiffstats
path: root/rules/pre/mirror.make
blob: 66eaf1b36823de1e80e76b145b5268d7e2c557b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*-makefile-*-
#
# Copyright (C) 2012 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# 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)))

ptx/mirror-pypi = $(foreach mirror, $(call ptx/mirror,PYPI,$(shell echo $(1) | head -c1)/$(strip $(1))/$(strip $(2))),$(mirror))

# vim: syntax=make