Skip to contentSkip to conversation

mk: sort config templates listing

PATCH In review Thomas Monjalon 2 participants 3 messages May 2, 2014 – May 5, 2014 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mk: sort config templates listing

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

---
 mk/rte.sdkconfig.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mk/rte.sdkconfig.mk +2 -2
index b4e45f2..a96beeb 100644
@@ -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
Signature · 1 line
1.9.2
Acked-by
#2 lore raw
In reply to a message not in the archive
Quoted 15 lines · Thomas Monjalon

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

---
  mk/rte.sdkconfig.mk | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
mk/rte.sdkconfig.mk +0 -0
index b4e45f2..a96beeb 100644
@@ -35,9 +35,9 @@ showversion:
  		$(RTE_SRCDIR)/lib/librte_eal/common/include/rte_version.h | \

mk/rte.sdkconfig.mk showversion: · line 43

Quoted 10 lines
mk/rte.sdkconfig.mk +2 -2
  		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