From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id E68DE3798 for ; Tue, 5 Sep 2017 22:52:43 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id y15so2244398wrc.4 for ; Tue, 05 Sep 2017 13:52:43 -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=YsgsbPLGeqLDEQG/n517ZqPxCzc8/cYoiX0mY31rbWDj9HEU4W4s9MuzT9hQjib58V g/NfFIIET4kfOcafTtzZ5EZJzisfsTAJGjAgRo1DeP4fEB5iTXcp7Kb1GFwIyYL9w7Ce EidIqL/Pja6y4ftB+8z932PqlWmGtokuov4eRKXvBG0o8+cw6At1MQu6tS6JRNmVHqiu 4lD0b+81BPZ59NUyhXP0ATl3aXZNjXM7Ri9IfBiERrDp/SdyZCZvbaNUZVy414HBvXes q605ddPNA7DxvWH4Yn+Xpjn23iXSTVYkRFa2/Q33hx0cdlTtiDc58aGznMu5OQVWdX/+ 5j1w== 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=K0pe8M1znnrb92zr5zj9cWktlWvXZihUIFBQ/S9XO/CMz/O+h7hyKUjKj+VfWfVPMB 4xTNAdX/9wvCdbD+6WPuQRdF06fxL127GaIjcm1ZP++G08/mDyS+YKzuMphocaRrr7xq +K0MZ4XrLtyrtXzxwP+EI3moU/HUVgh/4+Pya8Ei3DR66QQ4Cg3nkOzxYKHHbrwla8tD HMABXoxHcWIKgqD0DkntCwga3bU3qmfkoos2BeE7KzKqMj0jk+zI0Ecm6T6s0W+2ersC QvxpOMy4XZrDc10P+Y+e2/wbwMecylkYVy09EvlH0mugVb7yFIkiFniVjQzfOarhasJj g3Nw== X-Gm-Message-State: AHPjjUjfHriQyM5Ztz8PfIppOJbPw+eZvel+FY+HimZE8TWit07CqlpI fG8VpsADLtUO3MR2xJE= X-Google-Smtp-Source: ADKCNb7sMvEHHq9p76EBz59bvi2Vsccu7/gff5j2grsf4TPVgKyCtq5RqOfhFgmaWznEJu80bmdvxQ== X-Received: by 10.223.139.81 with SMTP id v17mr181167wra.226.1504644763436; Tue, 05 Sep 2017 13:52:43 -0700 (PDT) Received: from localhost ([2a00:23c5:bef3:400:4a51:b7ff:fe0b:4749]) by smtp.gmail.com with ESMTPSA id 4sm1570223wmg.20.2017.09.05.13.52.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Sep 2017 13:52:42 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Luca Boccassi Date: Tue, 5 Sep 2017 21:51:56 +0100 Message-Id: <20170905205159.8606-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170905205159.8606-1-luca.boccassi@gmail.com> References: <20170905205159.8606-1-luca.boccassi@gmail.com> Subject: [dpdk-dev] [PATCH v7 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: Tue, 05 Sep 2017 20:52:44 -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