From patchwork Thu Aug 10 18:23:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 27509 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 2F6325A6E; Thu, 10 Aug 2017 20:23:58 +0200 (CEST) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 641A658CB for ; Thu, 10 Aug 2017 20:23:57 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id d40so3949779wma.3 for ; Thu, 10 Aug 2017 11:23:57 -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=Juz7PvbRzvdteI9rhKEwOgjzM8yewmKmMKCLYTdXDfylaM8FhwB4iEwNlEplOkC5Zk Y3k0/9R+sJqX89F1TqoyRhc2FhMou35KiMm2Q2yLTk6f+SiLm2vv8nISR8eR6pIZ34r+ uwzSE+/cuh6GZ3xrwLVaaCw99AdxSQFIxWZXQf2tlPNHRvqGA4kpJzAOa0IjfbG3lAfO niPsB7aH4EPedTfpOp2Gn+IIqKh775DZFMjxQJIazbCybxNyfmQwSdUwYo7i/dn/3Uh9 jn7kM4t53fjz1RXMKB5XR0uEF4gziuOgYk3+pGM8IKijtsn+9mIfEXczfVdRMpn++ELr WSpg== 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=ln/L7fSqc8nIRJtReVu8mIUM3YYL07PseYOfuNm6OuyMZn85sJgK+RiZynnhDH1UTa 2fu82kjwc2or7ZkRf44qdLaXx5DIXH/RT0V/oix+umq/ztD7vEsmvN+DSxzNDHm/7Mgq bnOQrc8Baxiy+A4mEjrOkiQ937kgqfkFtwgdTiMJQVgpUd4EXWH4h4QI+mw1uBADPiog 2JX2j2DsXTSAoVRU7eXM8DL0hnSqoSeuTsCW9AOy4i9q+8k7KYKEHDFKBhyOJDH6v1RE r8C2tWgY5TPdGlA/c7QjWyjWYrJ8I6l5IQRfQefEwUb2svudgzrRL7OZdpYvI0AeExdH /rvA== X-Gm-Message-State: AHYfb5haxtTBQUBVxA/3isabWtKzf72QW11/1jFdhQSd87Z763zMeuBe bqFe+GYNeQEnxbV8sAE= X-Received: by 10.28.154.211 with SMTP id c202mr7752224wme.91.1502389436764; Thu, 10 Aug 2017 11:23:56 -0700 (PDT) Received: from localhost ([2a00:23c5:bef3:400:4a51:b7ff:fe0b:4749]) by smtp.gmail.com with ESMTPSA id 23sm8116574wrz.8.2017.08.10.11.23.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Aug 2017 11:23:56 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: Luca Boccassi Date: Thu, 10 Aug 2017 19:23:22 +0100 Message-Id: <20170810182325.14058-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170810182325.14058-1-luca.boccassi@gmail.com> References: <20170628135702.18150-1-lboccass@brocade.com> <20170810182325.14058-1-luca.boccassi@gmail.com> Subject: [dpdk-dev] [PATCH v5 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 += \