include/package.mk: Add support for src-checkout/ folder
authorJohn Crispin <john@phrozen.org>
Wed, 10 Jul 2019 11:32:24 +0000 (13:32 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 13 Sep 2019 19:57:57 +0000 (15:57 -0400)
commitce5ddbcc6efdcba7eeb00c7e37eda7dc42d88b19
tree8158a2b12eef3fc117167deda5c2eb2c33ea58bd
parent995a95074ff5b4e97005e32d7c04e2b6fbeda472
include/package.mk: Add support for src-checkout/ folder

This feature is similar to the SRC_TREE_OVERRIDE. However instead of having
to manually create a symlink inside the package folder, the buildsystem
will check if $(TOP_DIR)/src-checkout/$(PKG_NAME)/.git is present and use
this instead.

Signed-off-by: John Crispin <john@phrozen.org>
(cherry picked from commit 9e57b627834166f0b0e365a165975fafd72ab951)
include/package.mk