The GIT_LOCAL_REPOSITORY is pretty useless if KERNEL_GIT_CLONE_URI
is not set. The code in "include/" will actually be executed only
if it's set. So let's make it official and mark it as a dependency
in the configuration menu to avoid confusing the user.

Signed-off-by: Mathieu Olivari <math...@qca.qualcomm.com>
---
 config/Config-devel.in |    1 +
 1 file changed, 1 insertion(+)

diff --git a/config/Config-devel.in b/config/Config-devel.in
index 5e5c857..9fd5c48 100644
--- a/config/Config-devel.in
+++ b/config/Config-devel.in
@@ -64,6 +64,7 @@ menuconfig DEVEL
 
        config KERNEL_GIT_LOCAL_REPOSITORY
                string "Enter path to local reference repository" if DEVEL
+               depends on (KERNEL_GIT_CLONE_URI != "")
                default ""
                help
                  Enter a full pathname to a local reference git repository.
-- 
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to