build: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSION
authorFelix Fietkau <nbd@nbd.name>
Wed, 21 Dec 2016 15:39:56 +0000 (16:39 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 Dec 2016 15:42:20 +0000 (16:42 +0100)
commitffb0181a8731847ea0d02d6e158adf3d7d95c382
treecb7194bddf4b8983598829102a4e239f28e1bc7f
parent24e58c3f72a94ebf659586eb876b06b59adb2bb2
build: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSION

This makes it easier to unify versioning of git based package downloads.
PKG_SOURCE_DATE along with an 8-character abbreviation of the git hash
is used as PKG_VERSION, PKG_RELEASE should be used like normal packages.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/download.mk
include/host-build.mk
include/package.mk
rules.mk