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)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:26:54 +0000 (13:26 +0200)
commit0f4a3be2f424ca137c0cbc5f1fbab8c1fd24d7cc
tree96a1e34843130598d7a71e68cca0674c6ed3d8a3
parentc00c06b877d6a7522670932ba52c217b36f72466
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