From patchwork Thu Jul 21 09:42:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 72536 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp345009qga; Thu, 21 Jul 2016 02:53:59 -0700 (PDT) X-Received: by 10.107.17.218 with SMTP id 87mr40777716ior.101.1469094839837; Thu, 21 Jul 2016 02:53:59 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x75si1475004itb.88.2016.07.21.02.53.56; Thu, 21 Jul 2016 02:53:59 -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 C3343681F9; Thu, 21 Jul 2016 09:53:55 +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 0EB1368434; Thu, 21 Jul 2016 09:52:52 +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 BD3D968208; Thu, 21 Jul 2016 09:52:48 +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 D1B8C61601 for ; Thu, 21 Jul 2016 09:52:46 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id l69so56888821lfg.1 for ; Thu, 21 Jul 2016 02:52:46 -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=COd2gQwWpApFR4pf/g4wgpqBx1IHhvgPfeg10Z8E0CSuXaopryYVzQI9E4rJ7Iukwf 1QRqR+/bedtRV8XaSHxifuGsaXBVIJEA0sTZH556SbfoqlBq3fB9+e1SMsYEN5pOujH9 /AQQPQjGhgwVwOwTYn7OVcUkOsYcvEvwZXuOwtAgyk8gEIZeydETNft5RbI1aG2KL864 L5MVSFzpF9mStZBLfxuD4QW5yF4utyZRj+BEk1QGsPhccyzuzFWSCM5+njIQyV8Xi/aB IpXUsPLWmQTtGc5/lMUicw20r9um6JxOtxDbuSq44UHzgJ4aZid9osms3QsPE0fgENir gVrQ== X-Gm-Message-State: ALyK8tIzRPOKDEHJv6uXbBtM214waQnBh+cT+moeTiGnKgqYxTfyk3ENxBOVqGXOD0gzO+l6bU8= X-Received: by 10.25.40.141 with SMTP id o135mr22776975lfo.151.1469094765463; Thu, 21 Jul 2016 02:52:45 -0700 (PDT) Received: from localhost (c-c82171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.200]) by smtp.gmail.com with ESMTPSA id h13sm1468147lji.33.2016.07.21.02.52.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 02:52:44 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Thu, 21 Jul 2016 11:42:04 +0200 Message-Id: <1469094125-9696-2-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 Cc: zoltan.kiss@lists.linaro.org 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