mk: sort config templates listing
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 2 May 2014 13:28:02 +0000 (15:28 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 5 May 2014 09:46:01 +0000 (11:46 +0200)
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@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
mk/rte.sdkconfig.mk

index b4e45f2..a96beeb 100644 (file)
@@ -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