summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-11 13:07:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-11 13:07:10 +0000
commit03779da9c6b5db41c9bb8b394ace9c0ea0774f4a (patch)
tree460cead43842c71b6ce647b27cce852639101a3a
parent825b37cc569b40e0fcea9647f06495437069c0c8 (diff)
downloadmtk-20170518-03779da9c6b5db41c9bb8b394ace9c0ea0774f4a.zip
mtk-20170518-03779da9c6b5db41c9bb8b394ace9c0ea0774f4a.tar.gz
mtk-20170518-03779da9c6b5db41c9bb8b394ace9c0ea0774f4a.tar.bz2
sort Kconfig symbols automatically to make Kaloz happy :p
SVN-Revision: 19582
-rw-r--r--include/kernel-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 7c5d1fb..6214058 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -106,6 +106,7 @@ define BuildKernel
$(_SINGLE)$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@
$(SCRIPT_DIR)/kconfig.pl '>' $(if $(LINUX_SUBCONFIG),'+' $(GENERIC_LINUX_CONFIG) $(LINUX_CONFIG),$(GENERIC_LINUX_CONFIG)) \
$(LINUX_DIR)/.config > $(if $(LINUX_SUBCONFIG),$(LINUX_SUBCONFIG),$(LINUX_CONFIG))
+ LC_ALL='' sort $(if $(LINUX_SUBCONFIG),$(LINUX_SUBCONFIG),$(LINUX_CONFIG)) -o $(if $(LINUX_SUBCONFIG),$(LINUX_SUBCONFIG),$(LINUX_CONFIG))
$(Kernel/Configure)
install: $(LINUX_DIR)/.image