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

Olivier MATZ olivier.matz at 6wind.com
Fri May 2 17:36:49 CEST 2014


On 05/02/2014 03:28 PM, Thomas Monjalon wrote:
> 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
>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>



More information about the dev mailing list