From patchwork Thu Jul 21 09:43:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 72539 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp345535qga; Thu, 21 Jul 2016 02:55:17 -0700 (PDT) X-Received: by 10.200.42.69 with SMTP id l5mr78987709qtl.13.1469094917792; Thu, 21 Jul 2016 02:55:17 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 23si4458016qkq.180.2016.07.21.02.55.15; Thu, 21 Jul 2016 02:55:17 -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 D11DD681F7; Thu, 21 Jul 2016 09:55:15 +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 5433F681EF; Thu, 21 Jul 2016 09:54:45 +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 443DB6804F; Thu, 21 Jul 2016 09:54:41 +0000 (UTC) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by lists.linaro.org (Postfix) with ESMTPS id CF571681EE for ; Thu, 21 Jul 2016 09:53:52 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id f93so56970226lfi.2 for ; Thu, 21 Jul 2016 02:53:52 -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=z7fG273QM96ZYYiHoclzUY/b0olzOPQGuEAm7q3rXIQ=; b=L4hZCG83LMZwZc1YTjfIBWpZEM1PxwfCblyFfN8dJgrHUmB+KAhHw3sINwC1w2fT8h +F3wgfsXh+HvnDc5Ro9e15V11Ds88/UQTzOnUH9aBX3Vc7Kw1UtwcejQp2E5psbw1VoM a3wneXUvES0bf/qsfc7nU67YOG8xkHa9c+pX4KMS6bDA7H/+RxRdk7pO3nZgWTd6pbmr pVIecnWyZskDHbMDhYlzRGEB7+3W/iNJlapBZHk+kxO7FFTedBz7kkdCHB8wlL9AOdet KJoExkwkTwC/wt3eso/296BoD1P7dNI2GnZD/lFWEz7w5jXwxqbO5bRr7lK3PxRemM3q 3Paw== X-Gm-Message-State: ALyK8tKdZXj0sKhFLn9nwfqUP2w2ciH1ktwLUe4bEFC6r+/5P/BCFV55R9c18W9xk9GOoyGI4H4= X-Received: by 10.46.1.222 with SMTP id f91mr23042157lji.1.1469094831509; Thu, 21 Jul 2016 02:53:51 -0700 (PDT) Received: from localhost (c-c82171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.200]) by smtp.gmail.com with ESMTPSA id u11sm1432805lja.12.2016.07.21.02.53.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 02:53:50 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Thu, 21 Jul 2016 11:43:18 +0200 Message-Id: <1469094199-13427-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1469094199-13427-1-git-send-email-anders.roxell@linaro.org> References: <1469094199-13427-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 1/2] 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 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