mk: sort config templates listing
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.
Signed-off-by Thomas Monjalon <[email protected]>
--- mk/rte.sdkconfig.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mk/rte.sdkconfig.mk +2 -2
@@ -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
Olivier MATZ
Acked-byQuoted 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.
Signed-off-by Thomas Monjalon <[email protected]>--- mk/rte.sdkconfig.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)mk/rte.sdkconfig.mk +0
-0@@ -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
-2tr '\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
Acked-by Olivier Matz <[email protected]>
Quoted 6 lines
Quoted 4 lines
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 <[email protected]>Acked-by Olivier Matz <[email protected]>
Applied for version 1.7.0.
Signature · 1 line
Thomas