From 44b272fd58b2460d16142f15307db198141edcba Mon Sep 17 00:00:00 2001
From: Jonas Gorski <jogo@openwrt.org>
Date: Sun, 14 Aug 2011 23:36:42 +0000
Subject: package/kernel: Fix AddDepends/SetDepends calls with make 3.82

The module definitions depend on 001-depends.mk being the first included,
but make 3.82 does not sort the results of wildcards anymore, so do an
explicit sort of the includes.

Found by Philip Prindeville, thanks!

SVN-Revision: 27982
---
 package/kernel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index d382354..13a305d 100644
--- a/package/kernel/Makefile
+++ b/package/kernel/Makefile
@@ -45,5 +45,5 @@ endef
 
 $(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
 
-include ./modules/*.mk
+include $(sort $(wildcard ./modules/*.mk))
 -include $(TOPDIR)/target/linux/*/modules.mk
-- 
cgit v1.1