From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 5C5A0914B for ; Fri, 18 Aug 2017 13:03:46 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id p14so4366006wrg.1 for ; Fri, 18 Aug 2017 04:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WMSJsUBjDfxKnVEWdhPN8YroXwxs2HJuGZiIzOv+aIg=; b=qISwN2c7df8XB2CYjNOwVUVEkRIZ9KCDA15zMmKOR3st18Yo928cFQ+8fuJhG+q0Lm OuT/qoGlKo7VtRayOll+ASg8LgIjuLOTfE59LKBneF7qRoRx4PBnmDzOoJHIysIQvRJD e86ojLKIt83Gk69pnUP1Y3wvP/GLCNtLxYBe5N3jHdR5Gf9I55yhwslKPsaq2afIJPhY SjbVBjl0Q6wsXkUYS2y5rYIJM7s6Y7j6CxjKOhwrv8t2+N2U0lC/b9pMa2sQ1xK2MTnb KZVE69GsN3zZnI1E1D3tzoUIYMbnOQUS7UBi0Ji69HrIpdemfOsCktFuAofXYYgRtEGI yc3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WMSJsUBjDfxKnVEWdhPN8YroXwxs2HJuGZiIzOv+aIg=; b=JxEo+pzu0GdHfRl3tqkSTSkxrvPws5RdGyaEkCHRQQu8leqemjpOC4+oDSiqEaJo8C RNjsYgzq4FYWMEt4m87IosbFaSCWwVqPoPXV1HnH9J0IVvpy1dztmoVXA0hOxrK+oi1v ZWOZPr2X+R1FhjolpVTEP18rtPeXiuS9gCvN5301Bga/sQ/OP+DaqzVhh96t8DI0yw4+ G90g/nnSo7c6XCFEF5lgA5q4cPSy79hGzFrdPDg3YDMXzyUpK2RLqVZ6akWTA6NPCMQc 3WBs9C+dG4ZDVVYSlWivIdtsrfX+1ppt/PbKlR3WaC90YjGBWqgTRCm0GNkxs44U5AsW mtyA== X-Gm-Message-State: AHYfb5jC+TBd5NK7nI7PlclHY4KTK3t/UHijF6K1Iaj5qbff/7/fAiwU kuwpDXnZZ2Urt2IHYhk= X-Received: by 10.28.145.205 with SMTP id t196mr1238060wmd.107.1503054225807; Fri, 18 Aug 2017 04:03:45 -0700 (PDT) Received: from localhost ([2a00:23c5:bef3:400:4a51:b7ff:fe0b:4749]) by smtp.gmail.com with ESMTPSA id j137sm3092010wmf.43.2017.08.18.04.03.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Aug 2017 04:03:44 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: Luca Boccassi Date: Fri, 18 Aug 2017 12:03:25 +0100 Message-Id: <20170818110328.7370-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170818110328.7370-1-luca.boccassi@gmail.com> References: <20170810182325.14058-1-luca.boccassi@gmail.com> <20170818110328.7370-1-luca.boccassi@gmail.com> Subject: [dpdk-dev] [PATCH v6 3/6] mk: sort headers before wildcard inclusion X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2017 11:03:46 -0000 From: Luca Boccassi In order to achieve fully reproducible builds, always use the same inclusion order for headers in the Makefiles. Signed-off-by: Luca Boccassi --- examples/ip_pipeline/Makefile | 2 +- examples/multi_process/client_server_mp/mp_server/Makefile | 2 +- examples/server_node_efd/server/Makefile | 2 +- lib/librte_eal/common/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile index dc7e0ddd7..12ce0a1d5 100644 --- a/examples/ip_pipeline/Makefile +++ b/examples/ip_pipeline/Makefile @@ -43,7 +43,7 @@ APP = ip_pipeline VPATH += $(SRCDIR)/pipeline -INC += $(wildcard *.h) $(wildcard pipeline/*.h) +INC += $(sort $(wildcard *.h)) $(sort $(wildcard pipeline/*.h)) # all source are stored in SRCS-y SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := main.c diff --git a/examples/multi_process/client_server_mp/mp_server/Makefile b/examples/multi_process/client_server_mp/mp_server/Makefile index 5552999b5..160c17b68 100644 --- a/examples/multi_process/client_server_mp/mp_server/Makefile +++ b/examples/multi_process/client_server_mp/mp_server/Makefile @@ -49,7 +49,7 @@ APP = mp_server # all source are stored in SRCS-y SRCS-y := main.c init.c args.c -INC := $(wildcard *.h) +INC := $(sort $(wildcard *.h)) CFLAGS += $(WERROR_FLAGS) -O3 CFLAGS += -I$(SRCDIR)/../shared diff --git a/examples/server_node_efd/server/Makefile b/examples/server_node_efd/server/Makefile index a2f2f361b..9f1fe2894 100644 --- a/examples/server_node_efd/server/Makefile +++ b/examples/server_node_efd/server/Makefile @@ -49,7 +49,7 @@ APP = server # all source are stored in SRCS-y SRCS-y := main.c init.c args.c -INC := $(wildcard *.h) +INC := $(sort $(wildcard *.h)) CFLAGS += $(WERROR_FLAGS) -O3 CFLAGS += -I$(SRCDIR)/../shared diff --git a/lib/librte_eal/common/Makefile b/lib/librte_eal/common/Makefile index e8fd67a27..4e6baaa72 100644 --- a/lib/librte_eal/common/Makefile +++ b/lib/librte_eal/common/Makefile @@ -49,7 +49,7 @@ GENERIC_INC += rte_vect.h rte_pause.h rte_io.h # defined in mk/arch/$(RTE_ARCH)/rte.vars.mk ARCH_DIR ?= $(RTE_ARCH) -ARCH_INC := $(notdir $(wildcard $(RTE_SDK)/lib/librte_eal/common/include/arch/$(ARCH_DIR)/*.h)) +ARCH_INC := $(sort $(notdir $(wildcard $(RTE_SDK)/lib/librte_eal/common/include/arch/$(ARCH_DIR)/*.h))) SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include := $(addprefix include/,$(INC)) SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include += \ -- 2.11.0