summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-01-06 11:04:07 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-01-06 14:50:48 +0100
commitce8a9a5ccdd1cf8d98a370f4916397c183456cc9 (patch)
treee55c5b47694f375a85bfe51dddbb9de38351883c /Makefile.in
parent70fbff01c7ce191452964e7e5123e61e3f88f466 (diff)
downloadptxdist-ce8a9a5ccdd1cf8d98a370f4916397c183456cc9.tar.gz
ptxdist-ce8a9a5ccdd1cf8d98a370f4916397c183456cc9.tar.xz
[ptxdist] adopt config file version handling to cope with dynamic fullversion
In the past ptxdist's fullversion was replaced by configure in these files: - platforms/ptxdist-version.in.in (PLATFORMCONFIG_VERSION) - rules/ptxdist-version.in.in (CONFIGFILE_VERSION) resulting in: - platforms/ptxdist-version.in - rules/ptxdist-version.in However the fullversion is rather dynamic now since it can hold version information from the version control system. ptxdist refuses to run if the versions don't match. During development this may change quite often which is probably too annoying for the developers. This patch introduces two new version variables: - PTXDIST_VERSION_CFG_SCM - PTXDIST_VERSION_CFG_FULL The _SCM variable holds "-git" if ptxdist isn't release. For released versions _SCM is empty. PTXDIST_VERSION_CFG_FULL contains '$year.$month.$bugfix$scm' (scm is PTXDIST_VERSION_CFG_SCM), for example: '2010.01.0-git' for modifies i.e. dirty '2010.01.0' release. Further we don't no longer modify the "*/ptxdist-version.in.in", we use the kconfig 'option env="VAR"' to get the correct version from the environment. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index d7b883939..b65a7a086 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -77,8 +77,6 @@ dist:
distclean: clean
rm -fr Makefile
rm -fr build-stamp
- rm -f rules/ptxdist-version.in
- rm -f scripts/ptxdist_version.sh
rm -fr config.log config.status autom4te.cache
maintainer-clean: distclean