diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-02-26 19:19:32 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-02-26 21:04:12 +0100 |
commit | f2dcc48d7b412ecaaec015b5d6d3bdf118fb2805 (patch) | |
tree | 78151dca0218f924ee724e80b77547397916e104 /rules/pre | |
parent | 6bb6dde555449fa5b5f5655dbfe3cf09ff2804db (diff) | |
download | ptxdist-f2dcc48d7b412ecaaec015b5d6d3bdf118fb2805.tar.gz ptxdist-f2dcc48d7b412ecaaec015b5d6d3bdf118fb2805.tar.xz |
[canutils] cleanup dynamic version handling
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/pre')
-rw-r--r-- | rules/pre/canutils.make | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rules/pre/canutils.make b/rules/pre/canutils.make new file mode 100644 index 000000000..ce0978403 --- /dev/null +++ b/rules/pre/canutils.make @@ -0,0 +1,20 @@ +# -*-makefile-*- +# +# Copyright (C) 2003, 2010 by Marc Kleine-Budde <kleine-budde@gmx.de> +# (C) 2008 by Wolfram Sang <w.sang@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. +# + +CANUTILS_VERSION := $(call remove_quotes,$(PTXCONF_CANUTILS_VERSION)) +_version_temp := $(subst ., ,$(CANUTILS_VERSION)) +CANUTILS_VERSION_MAJOR := $(word 1,$(_version_temp)) +CANUTILS_VERSION_MINOR := $(word 2,$(_version_temp)) +CANUTILS_VERSION_MICRO := $(word 3,$(_version_temp)) + +_version_temp := + +# vim: syntax=make |