From patchwork Thu Oct 12 13:15:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 30298 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0DD821B349; Thu, 12 Oct 2017 15:16:30 +0200 (CEST) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 3193B1B338 for ; Thu, 12 Oct 2017 15:16:28 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id u138so13085019wmu.5 for ; Thu, 12 Oct 2017 06:16:28 -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=CdQx8RkXuX5yy9ZlFnhh1OYyYERJgQF1jPO60NEmvqYhFB/knynWFd69cUx9nKctvz aTqyN5Z/P9WvbLmxMJCAjgksKIP3WEdvXxJxWXaukD0a7nKBUrz16lsXbbqcj6zGtWBN TVrL+ydo/IAl4xZwP9V1PqZum65vu6debqG6bimwvm6ue/ZSSKzCwlrou6zRC2xhjuKY harKdKq/4oiOTxX0dezSPkQmyQuqMu3Vq25eUZVVAXvfoCLB98OXbpkRk+z1Se+sirpM HemTzF7dvVnXW2go1ftQMqRRS4ZzZjLm4FpMbq4T73/xhzHYebdb5QRTnayRQ6iJeAry lelA== 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=Ob5ZZCRdYIIxU9CEOh8ZJC2Gd1WwrQZl1dxOSjpR/r5hXGZsjMrh1rTbU/zCVWEMTV xJzTdR85ET4DsRi32PB2a2ncjv3mVmUQl2/PtLbvMI2+iG07lMNBA9wQbEhmEek+hKsc LtzIAByslmjdgip6Bg71i/Zobm1pIWjFMHib9tAi8zFAn5qX8EenfjOn2Q1nSn2UkC4H KjtK105B+8sdlDtXHCX6vSiDrKwl7QDqDalTvM3EYdRH3Wgs6C9iYmSlvtK1zq57/sIE Int/OCxrnK/ug3hp6Rsll74Rmgsnig5ayUfEnezQBXdvQg2nPy9UKGb0J8pzKkTDv7Nd O+zg== X-Gm-Message-State: AMCzsaXfakQ4OqSpjYzBciWMJ9ATGWJyeKMqZCFjGa8qn8iL9IBhcL3/ vmYPMVsUX0ePaoJgz8qSJB0gZ5FB X-Google-Smtp-Source: AOwi7QBE2YAUmj5iLZO4ooocLYfJLabi7I9iPLMuaEhZK9ohJNtLpa2m7wWt3ddVcH9ISFp7a7nM1w== X-Received: by 10.80.206.14 with SMTP id y14mr2892657edi.94.1507814187598; Thu, 12 Oct 2017 06:16:27 -0700 (PDT) Received: from localhost ([213.251.34.151]) by smtp.gmail.com with ESMTPSA id j39sm1632059ede.10.2017.10.12.06.16.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Oct 2017 06:16:26 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: ferruh.yigit@intel.com, thomas@monjalon.net, Luca Boccassi Date: Thu, 12 Oct 2017 14:15:51 +0100 Message-Id: <20171012131554.1533-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171012131554.1533-1-luca.boccassi@gmail.com> References: <20170905205159.8606-1-luca.boccassi@gmail.com> <20171012131554.1533-1-luca.boccassi@gmail.com> Subject: [dpdk-dev] [PATCH v8 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 += \