Kaynağa Gözat

make help: sort defconfigs for make 3.82

Closes #3985

The wildcard function in make 3.82 no longer sorts the output, so
add an explicit sort so the defconfigs are listed in a sensible order.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Danomi Mocelopolis 14 yıl önce
ebeveyn
işleme
b979619973
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 1 0
      CHANGES
  2. 1 1
      Makefile

+ 1 - 0
CHANGES

@@ -31,6 +31,7 @@
 	#3595: patch to add libroxml
 	#3565: libnss: Add new package
 	#3907: 2011.05 - Qt 4.7.3 not building on ARM
+	#3985: "help" target's defconfig list needs sort
 
 2011.05, Released May 27th, 2011:
 

+ 1 - 1
Makefile

@@ -668,7 +668,7 @@ endif
 	@echo '  make V=0|1             - 0 => quiet build (default), 1 => verbose build'
 	@echo '  make O=dir             - Locate all output files in "dir", including .config'
 	@echo
-	@$(foreach b, $(notdir $(wildcard $(TOPDIR)/configs/*_defconfig)), \
+	@$(foreach b, $(sort $(notdir $(wildcard $(TOPDIR)/configs/*_defconfig))), \
 	  printf "  %-35s - Build for %s\\n" $(b) $(b:_defconfig=);)
 	@echo
 	@echo 'See docs/README and docs/buildroot.html for further details'