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)
committerJohn Crispin <john@phrozen.org>
Wed, 10 Jul 2019 12:00:19 +0000 (14:00 +0200)
commit9e57b627834166f0b0e365a165975fafd72ab951
treedd58f6b9f8537b3bd405f9f240a7e8d82bacba62
parent1174b94bc98db9730cec8501397cf997b6f7b35c
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>
include/package.mk