Selaa lähdekoodia

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
Jonas Gorski 14 vuotta sitten
vanhempi
sitoutus
44b272fd58
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      package/kernel/Makefile

+ 1 - 1
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