From: Florian Fainelli Date: Tue, 30 Oct 2012 16:56:03 +0000 (+0000) Subject: properly reindent Kernel/Prepare/Default X-Git-Tag: reboot~12447 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=246e563cb7b1911e7b96262833c4f0ecf8a88695;p=openwrt%2Fstaging%2Fnoltari.git properly reindent Kernel/Prepare/Default SVN-Revision: 34014 --- diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 8075079d70..51742857b0 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)