summaryrefslogtreecommitdiffstats
path: root/rules/pre/get_alternative.make
blob: f8043639f8c096d1f5d5e9de1f05bf2a2ce46899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*-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/get-alternative = $(shell ptxd_get_alternative $(1) $(2) && echo $$ptxd_reply)
ptx/get_alternative = $(error ptx/get_alternative has been renamed to ptx/get-alternative)

ptx/in-path = $(shell ptxd_in_path $(1) $(2) && echo $$ptxd_reply)

ptx/in-platformconfigdir = $(if $(strip $(1)),$(shell ptxd_in_platformconfigdir $(1)))

# vim: syntax=make