From patchwork Mon Feb 22 23:42: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: 62644 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1536464lbl; Mon, 22 Feb 2016 15:49:13 -0800 (PST) X-Received: by 10.140.83.212 with SMTP id j78mr14720446qgd.83.1456184952993; Mon, 22 Feb 2016 15:49:12 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id u144si31764735qka.104.2016.02.22.15.49.12; Mon, 22 Feb 2016 15:49:12 -0800 (PST) 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 Received: by lists.linaro.org (Postfix, from userid 109) id 81F3361D16; Mon, 22 Feb 2016 23:49:12 +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 046B161756; Mon, 22 Feb 2016 23:49:06 +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 DBB7561D12; Mon, 22 Feb 2016 23:49:03 +0000 (UTC) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by lists.linaro.org (Postfix) with ESMTPS id 834E961755 for ; Mon, 22 Feb 2016 23:48:46 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id of3so91509219lbc.1 for ; Mon, 22 Feb 2016 15:48:46 -0800 (PST) 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; bh=YHSzKMTYb4X3vQwTCdgforXylB0vWdbv790zHmk97g8=; b=F3nvPYVgBE48ZZl6yuCCvlqZbtwNViAM+JNefbt9GCNZTGyDMXKZTU+TUg3IsB31iV nh31hPnjs6dHiaTsnyJjNuj669AHuFbC5WqS78u3Ki2/bn0hFBfSzwIY48yASa4G4X2q +BDFTofPMsUQyCvQy5khGdN8arzzh8SqPAF67DEd+2xXU4RhuYdCZ04kCfo0+Dv1fELH hiCzoOsy0FEuJQnohOIedXUds8WPW9DSuD7yCWHzVkd/az6ZDfKgk/tYGJEsdIyq2r56 y2DTsFcuxPiTOHt7311wwuLwE3zC+vsTZXCOwCy884YnTFA2I9fOhailT5YxbaAGGx4L L7QA== X-Gm-Message-State: AG10YOT/i+qQG2up4VzJrihgOetoCdM/w2gobq011+26nGtdmI8rvhAp0YcNByv4w3yYqchrzqs= X-Received: by 10.112.137.129 with SMTP id qi1mr11054217lbb.31.1456184925290; Mon, 22 Feb 2016 15:48:45 -0800 (PST) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id ak8sm3499991lbc.24.2016.02.22.15.48.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Feb 2016 15:48:44 -0800 (PST) From: Anders Roxell To: christophe.milard@linaro.org Date: Tue, 23 Feb 2016 00:42:18 +0100 Message-Id: <1456184538-8632-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCHv2] linux-generic: Makefile: fix broken include path 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: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Fix build error while building an application against ODP /media/data/src/install-odp-api-next/include/odp/api/cpu.h:20:26: fatal error: odp/cpu_arch.h: No such file or directory #include compilation terminated. Signed-off-by: Anders Roxell Reviewed-by: Christophe Milard --- platform/linux-generic/Makefile.am | 2 +- platform/linux-generic/arch/linux/odp/{ => api}/cpu_arch.h | 0 platform/linux-generic/arch/mips64/odp/{ => api}/cpu_arch.h | 0 platform/linux-generic/arch/powerpc/odp/{ => api}/cpu_arch.h | 0 platform/linux-generic/arch/x86/odp/{ => api}/cpu_arch.h | 0 platform/linux-generic/include/odp/api/cpu.h | 2 +- 6 files changed, 2 insertions(+), 2 deletions(-) rename platform/linux-generic/arch/linux/odp/{ => api}/cpu_arch.h (100%) rename platform/linux-generic/arch/mips64/odp/{ => api}/cpu_arch.h (100%) rename platform/linux-generic/arch/powerpc/odp/{ => api}/cpu_arch.h (100%) rename platform/linux-generic/arch/x86/odp/{ => api}/cpu_arch.h (100%) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 00c8ac9..d0e1641 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -56,7 +56,7 @@ odpapiinclude_HEADERS = \ $(srcdir)/include/odp/api/timer.h \ $(srcdir)/include/odp/api/traffic_mngr.h \ $(srcdir)/include/odp/api/version.h \ - $(srcdir)/arch/@ARCH@/odp/cpu_arch.h + $(srcdir)/arch/@ARCH@/odp/api/cpu_arch.h odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ diff --git a/platform/linux-generic/arch/linux/odp/cpu_arch.h b/platform/linux-generic/arch/linux/odp/api/cpu_arch.h similarity index 100% rename from platform/linux-generic/arch/linux/odp/cpu_arch.h rename to platform/linux-generic/arch/linux/odp/api/cpu_arch.h diff --git a/platform/linux-generic/arch/mips64/odp/cpu_arch.h b/platform/linux-generic/arch/mips64/odp/api/cpu_arch.h similarity index 100% rename from platform/linux-generic/arch/mips64/odp/cpu_arch.h rename to platform/linux-generic/arch/mips64/odp/api/cpu_arch.h diff --git a/platform/linux-generic/arch/powerpc/odp/cpu_arch.h b/platform/linux-generic/arch/powerpc/odp/api/cpu_arch.h similarity index 100% rename from platform/linux-generic/arch/powerpc/odp/cpu_arch.h rename to platform/linux-generic/arch/powerpc/odp/api/cpu_arch.h diff --git a/platform/linux-generic/arch/x86/odp/cpu_arch.h b/platform/linux-generic/arch/x86/odp/api/cpu_arch.h similarity index 100% rename from platform/linux-generic/arch/x86/odp/cpu_arch.h rename to platform/linux-generic/arch/x86/odp/api/cpu_arch.h diff --git a/platform/linux-generic/include/odp/api/cpu.h b/platform/linux-generic/include/odp/api/cpu.h index e0bdc9e..d49c782 100644 --- a/platform/linux-generic/include/odp/api/cpu.h +++ b/platform/linux-generic/include/odp/api/cpu.h @@ -17,7 +17,7 @@ extern "C" { #endif -#include +#include #include