Makefile: move $(VERSION_FILE) rule out of ifeq configured
authorIlya Yanok <yanok@emcraft.com>
Mon, 20 Jun 2011 12:45:38 +0000 (12:45 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 22 Jun 2011 18:03:08 +0000 (20:03 +0200)
commit28abd48f508ba25ba8b1cdcb03425ac02f4c341b
treecf1e9ece4d4446e798edbef065d9081b17089eff
parentd51dfff7af2ad30c54a4fb99539f3fa4275a1573
Makefile: move $(VERSION_FILE) rule out of ifeq configured

mkimage relies on autogenerated version so we need to move
$(VERSION_FILE) rule out of ifeq and make tools rule depend on it to be
able to run 'make tools' from the unconfigured tree.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Makefile