6 Commits

Author SHA1 Message Date
Bernhard Nortmann
610ca15715 common.h: Rename errf() to pr_error(), add pr_fatal()
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-12-07 08:15:03 +01:00
Bernhard Nortmann
5792814010 Add support for auto-updated version information
The Makefile will now use a script (autoversion.sh) to update
version.h, which in turn defines a VERSION string and gets
included from common.h.

The idea is that version.h normally receives a git-describe
based identifier that represents the current checkout. In
cases where git might not be available, e.g. for builds from
a tarball, the script will instead fall back to a predefined
version (that should reflect the most recent release tag).

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-10-21 21:46:03 +02:00
Bernhard Nortmann
99daba15e7 Move list declarations from common.h into a separate list.h
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-05-04 10:31:00 +02:00
Alejandro Mery
79ea14d4e0 Relicensed as GPLv2+ 2012-06-15 22:34:22 +02:00
Alejandro Mery
4977886293 common: add ARRAY_SIZE() macro 2012-05-12 13:38:59 +02:00
Alejandro Mery
352188a376 renamed sunxi-tools.h to common.h 2012-05-10 09:33:41 +02:00