This reverts commit f522bb53f9.
We wait for the tree-clean first so people know why it got removed.
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Stop hardcoding VERSION in the Makefile.
The Makefile determines VERSION in one of two (relevant) ways:
* If a .git directory is present, it uses git-describe.
* Otherwise, it reads the contents of a .version file.
Write ${PV} to a .version file to let the Makefile inject the
git-describe output for live builds.
This provides a more accurate version string (including the commit hash)
in modinfo rather than a generic and unhelpful "9999".
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
Only declare the pre-inherit variables before inherit. Reduce the
scope of MOUDLE_S by making it a local variable 'module_src'. Move
other non-pre-inherit variables after the typical ebuild prelude.
Signed-off-by: Florian Schmaus <flow@gentoo.org>