summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/kernel-defaults.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 8075079d7..51742857b 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -37,15 +37,15 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
endef
else
ifeq ($(strip $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY)),"")
-define Kernel/Prepare/Default
+ define Kernel/Prepare/Default
git clone $(CONFIG_KERNEL_GIT_CLONE_URI) $(LINUX_DIR)
- endef
- else
- define Kernel/Prepare/Default
+ endef
+ else
+ define Kernel/Prepare/Default
git clone --reference $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY) $(CONFIG_KERNEL_GIT_CLONE_URI) $(LINUX_DIR)
- endef
+ endef
+ endif
endif
-endif
else
define Kernel/Prepare/Default
mkdir -p $(KERNEL_BUILD_DIR)