summaryrefslogtreecommitdiff
path: root/mk/rte.hostapp.mk
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-10-12 14:15:53 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-10-12 22:31:33 +0200
commitffe2fe3a95abd89e60618d007951f2d01a7771e3 (patch)
tree20992c512a5178ae37b018a37654dfb889349558 /mk/rte.hostapp.mk
parent62bc760dea05652efb3db176e64afc9ce35d7d0b (diff)
downloaddpdk-ffe2fe3a95abd89e60618d007951f2d01a7771e3.zip
dpdk-ffe2fe3a95abd89e60618d007951f2d01a7771e3.tar.gz
dpdk-ffe2fe3a95abd89e60618d007951f2d01a7771e3.tar.xz
mk: sort libraries in dependency lists
In order to achieve reproducible builds, always use the same order when listing object files to build dependencies lists. Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'mk/rte.hostapp.mk')
-rw-r--r--mk/rte.hostapp.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/rte.hostapp.mk b/mk/rte.hostapp.mk
index 5cb4909..f58173c 100644
--- a/mk/rte.hostapp.mk
+++ b/mk/rte.hostapp.mk
@@ -69,9 +69,9 @@ O_TO_EXE_DO = @set -e; \
-include .$(HOSTAPP).cmd
# list of .a files that are linked to this application
-LDLIBS_FILES := $(wildcard \
+LDLIBS_FILES := $(sort $(wildcard \
$(addprefix $(RTE_OUTPUT)/lib/, \
- $(patsubst -l%,lib%.a,$(filter -l%,$(LDLIBS)))))
+ $(patsubst -l%,lib%.a,$(filter -l%,$(LDLIBS))))))
#
# Compile executable file if needed