package/kernel: Fix AddDepends/SetDepends calls with make 3.82
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 14 Aug 2011 23:36:42 +0000 (23:36 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 14 Aug 2011 23:36:42 +0000 (23:36 +0000)
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!

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27982 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/Makefile

index d382354..13a305d 100644 (file)
@@ -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
This page took 0.029928 seconds and 4 git commands to generate.