[dpdk-dev] [PATCH] mk: sort config templates listing

Thomas Monjalon thomas.monjalon at 6wind.com
Fri May 2 15:28:02 CEST 2014


The config templates can be seen with "make showconfigs", "make config" or
"make help". It's easier to read if it's sorted.

Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
 mk/rte.sdkconfig.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mk/rte.sdkconfig.mk b/mk/rte.sdkconfig.mk
index b4e45f2..a96beeb 100644
--- a/mk/rte.sdkconfig.mk
+++ b/mk/rte.sdkconfig.mk
@@ -35,9 +35,9 @@ showversion:
 		$(RTE_SRCDIR)/lib/librte_eal/common/include/rte_version.h | \
 		tr '\n' '.' | sed -r 's,\.([0-9]+)\.$$,r\1\n,'
 
-INSTALL_CONFIGS := $(filter-out %~,\
+INSTALL_CONFIGS := $(sort $(filter-out %~,\
 	$(patsubst $(RTE_SRCDIR)/config/defconfig_%,%,\
-	$(wildcard $(RTE_SRCDIR)/config/defconfig_*)))
+	$(wildcard $(RTE_SRCDIR)/config/defconfig_*))))
 INSTALL_TARGETS := $(addsuffix _install,$(INSTALL_CONFIGS))
 
 .PHONY: showconfigs
-- 
1.9.2



More information about the dev mailing list