1 Description: mk: sort list of shared objects in linker script
3 The output of wildcard might not be stable and depend on the
4 filesystem and other factors.
5 This means the content libdpdk.so linker script might change between
6 builds from the same sources.
7 Run the list through sort to ensure reproducibility.
9 Origin: http://dpdk.org/dev/patchwork/patch/27507/
11 Author: Luca Boccassi <luca.boccassi@gmail.com>
12 Last-Update: 2017-08-10
14 mk/rte.combinedlib.mk | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 --- a/mk/rte.combinedlib.mk
18 +++ b/mk/rte.combinedlib.mk
19 @@ -42,7 +42,7 @@ endif
21 COMBINEDLIB := lib$(RTE_LIBNAME)$(EXT)
23 -LIBS := $(filter-out $(COMBINEDLIB), $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT))))
24 +LIBS := $(filter-out $(COMBINEDLIB), $(sort $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT)))))
27 $(Q)echo "GROUP ( $(LIBS) )" > $(RTE_OUTPUT)/lib/$(COMBINEDLIB)