diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-02-04 22:54:00 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-02-05 18:54:15 +0100 |
commit | f6d08774962c91df1c9583a4759adbc721035b24 (patch) | |
tree | be3196c6ee89a2db1c166626abe3d205fe59fbee | |
parent | cbb0181a0664b8097b11c5d913079ca1ac9d2687 (diff) | |
download | ptxdist-f6d08774962c91df1c9583a4759adbc721035b24.tar.gz ptxdist-f6d08774962c91df1c9583a4759adbc721035b24.tar.xz |
rules: get_alternative: add make helper for ptxd_get_alternative shell function
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | rules/pre/get_alternative.make | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rules/pre/get_alternative.make b/rules/pre/get_alternative.make new file mode 100644 index 000000000..1905bb9f5 --- /dev/null +++ b/rules/pre/get_alternative.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/get_alternative = $(shell ptxd_get_alternative $(1) $(2) && echo $$ptxd_reply) + +# vim: syntax=make |