From patchwork Thu Jul 21 13:02:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 72568 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp437224qga; Thu, 21 Jul 2016 06:13:36 -0700 (PDT) X-Received: by 10.129.125.135 with SMTP id y129mr37125258ywc.107.1469106816662; Thu, 21 Jul 2016 06:13:36 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w141si4915954qkb.279.2016.07.21.06.13.36; Thu, 21 Jul 2016 06:13:36 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 51FF568252; Thu, 21 Jul 2016 13:13:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 23ABA6179A; Thu, 21 Jul 2016 13:13:27 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 9B41568252; Thu, 21 Jul 2016 13:13:23 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by lists.linaro.org (Postfix) with ESMTPS id BBED8681B9 for ; Thu, 21 Jul 2016 13:13:21 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id b199so61687721lfe.0 for ; Thu, 21 Jul 2016 06:13:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=at1lMsqJW2SVcRkkk2gMgBTySPHXMcEHcOaJ3UQWODk=; b=ikAf/iykxlKEzoMPwfbEjAa0TlcZWJiLwIsPcEA95u3zp+LtEkPTAhOefrQsqV011/ iITz6nXe9kATz08nWIygCYoR6BK0lpmxW/xHB4MTTi4nXbyPsdMqmHkZjYMX7xQqmxZf u2FvKx2QeUsLjI+KbDMKH4sG8dKsdNv1Gxm1WqIfXWhAT3MjSVt+A85dhTVoneAQpxE7 SKw2hDkIMEDYJuQ+YOJO4zWyY0kxNh7Abn6fB0jaO8187H6pIHqvZU4LedPSHWnKbnih t2Etq7s2EIRnF5DqE8NxPOt9afnQrKWx6stzWQNb68fF2WtsvC7dh8BZ+wBhlIZWA3C5 taoQ== X-Gm-Message-State: ALyK8tKUt0LteFRwbZaUyv3I/cxuhFRJC0Mb1E2SATRT/9RpaPrHaoMPQ5JVrbqyWU1cm669NZI= X-Received: by 10.25.209.21 with SMTP id i21mr19483930lfg.5.1469106800246; Thu, 21 Jul 2016 06:13:20 -0700 (PDT) Received: from localhost (c-c82171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.200]) by smtp.gmail.com with ESMTPSA id 21sm1806787ljf.7.2016.07.21.06.13.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 06:13:19 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Thu, 21 Jul 2016 15:02:50 +0200 Message-Id: <1469106170-22614-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1469094125-9696-1-git-send-email-anders.roxell@linaro.org> References: <1469094125-9696-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2] linux-gen: Makefile: Move EXTRA_DIST to to platform/Makefile.inc X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Make it easier for other platforms like odp-dpdk to reuse arch specific files in EXTRA_DIST for "free". Reported-by: Fathi Boudra Signed-off-by: Anders Roxell --- platform/Makefile.inc | 17 +++++++++++++++++ platform/linux-generic/Makefile.am | 17 ----------------- 2 files changed, 17 insertions(+), 17 deletions(-) -- 2.1.4 diff --git a/platform/Makefile.inc b/platform/Makefile.inc index 053bd12..370383b 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -60,3 +60,20 @@ odpapispecinclude_HEADERS = \ $(top_srcdir)/include/odp/api/spec/timer.h \ $(top_srcdir)/include/odp/api/spec/traffic_mngr.h \ $(top_srcdir)/include/odp/api/spec/version.h + +EXTRA_DIST = \ + arch/default/odp/api/cpu_arch.h \ + arch/default/odp_cpu_arch.c \ + arch/default/odp_sysinfo_parse.c \ + arch/mips64/odp/api/cpu_arch.h \ + arch/mips64/odp_cpu_arch.c \ + arch/mips64/odp_sysinfo_parse.c \ + arch/powerpc/odp/api/cpu_arch.h \ + arch/powerpc/odp_cpu_arch.c \ + arch/powerpc/odp_sysinfo_parse.c \ + arch/x86/odp/api/cpu_arch.h \ + arch/x86/odp_cpu_arch.c \ + arch/x86/odp_sysinfo_parse.c \ + arch/arm/odp/api/cpu_arch.h \ + arch/arm/odp_cpu_arch.c \ + arch/arm/odp_sysinfo_parse.c diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index c8fd8cb..0cfd0fe 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -186,23 +186,6 @@ __LIB__libodp_linux_la_SOURCES = \ arch/@ARCH_DIR@/odp_cpu_arch.c \ arch/@ARCH_DIR@/odp_sysinfo_parse.c -EXTRA_DIST = \ - arch/default/odp/api/cpu_arch.h \ - arch/default/odp_cpu_arch.c \ - arch/default/odp_sysinfo_parse.c \ - arch/mips64/odp/api/cpu_arch.h \ - arch/mips64/odp_cpu_arch.c \ - arch/mips64/odp_sysinfo_parse.c \ - arch/powerpc/odp/api/cpu_arch.h \ - arch/powerpc/odp_cpu_arch.c \ - arch/powerpc/odp_sysinfo_parse.c \ - arch/x86/odp/api/cpu_arch.h \ - arch/x86/odp_cpu_arch.c \ - arch/x86/odp_sysinfo_parse.c \ - arch/arm/odp/api/cpu_arch.h \ - arch/arm/odp_cpu_arch.c \ - arch/arm/odp_sysinfo_parse.c - if HAVE_PCAP __LIB__libodp_linux_la_SOURCES += pktio/pcap.c endif