From: Luca Boccassi Date: Thu, 12 Oct 2017 13:15:49 +0000 (+0100) Subject: mk: sort list of shared objects in linker script X-Git-Tag: spdx-start~1389 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6a57b47d8733cc3a812432530e3de45c146e7d29;p=dpdk.git mk: sort list of shared objects in linker script The output of wildcard might not be stable and depend on the filesystem and other factors. This means the content libdpdk.so linker script might change between builds from the same sources. Run the list through sort to ensure reproducibility. Signed-off-by: Luca Boccassi --- diff --git a/mk/rte.combinedlib.mk b/mk/rte.combinedlib.mk index 449358b33d..2ab7ee8a15 100644 --- a/mk/rte.combinedlib.mk +++ b/mk/rte.combinedlib.mk @@ -42,7 +42,7 @@ endif RTE_LIBNAME := dpdk COMBINEDLIB := lib$(RTE_LIBNAME)$(EXT) -LIBS := $(filter-out $(COMBINEDLIB), $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT)))) +LIBS := $(filter-out $(COMBINEDLIB), $(sort $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT))))) all: FORCE $(Q)echo "GROUP ( $(LIBS) )" > $(RTE_OUTPUT)/lib/$(COMBINEDLIB)