diff options
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -468,6 +468,13 @@ cross-compiling := yes else cross-compiling := no endif + +# Figure out the version numbers from version.h. +$(common-objpfx)version.mk: $(..)version.h + sed -n -e 's/^.*RELEASE.*\"\([^"]*\)";$$/release=\1/p' \ + -e 's/^.*VERSION.*\"\([^"]*\)";$$/version=\1/p' \ + < $< > $@-new + mv -f $@-new $@ endif # Makeconfig not yet included |