From patchwork Tue Jul 8 17:04:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 33243 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F0CC420969 for ; Tue, 8 Jul 2014 17:06:58 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id j17sf36409902oag.4 for ; Tue, 08 Jul 2014 10:06:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-post:list-help :list-subscribe:mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive :content-type:content-transfer-encoding; bh=s31ylW01ik6zMuhSLOnhKQmihdtCHs6HyDqQ0bZBotk=; b=POTRdzVIwZpsaA2qZ1V1H62H4PM5bWT3XGZ+5FDq/N6iRyWxCF1/vE6Ce5XgjMNGyC XwLb41v/BGa4mSxqTLUIORGniCzrSqISuh+csrboz/ZIcR7Nrf4pTKyy9CzKJ+Xa/si8 MIUEYLnKOgvU7Y/ffsLTVQxxU0rmbIhIxDmVpdLMge875Dj2QTy+zBa4jvtxiQFQCByS G1zVCBvKpLk3FG3xRNamfIVyqh6L1BuahNOiNMlTx64shFz0AQi6xxVPw2IwEdwtTvCa 6B37K/T75lC+BZEYgbnemd/Ms9AJoVifpQKDBvrnZI6VHQHls/mHiY+BQL3sDFIF2Rbx Ssrw== X-Gm-Message-State: ALoCoQlfohafzQbBooKJrz9HJ65IGWjXFbjJshhg1Ow+7J1iBnzob01RlHLEp+p7JcM6rOXPs8Vi X-Received: by 10.182.166.36 with SMTP id zd4mr17984473obb.43.1404839218479; Tue, 08 Jul 2014 10:06:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.31.116 with SMTP id e107ls2328768qge.67.gmail; Tue, 08 Jul 2014 10:06:58 -0700 (PDT) X-Received: by 10.220.5.138 with SMTP id 10mr1278681vcv.67.1404839218398; Tue, 08 Jul 2014 10:06:58 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id x3si8837567vep.58.2014.07.08.10.06.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Jul 2014 10:06:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id ij19so5737437vcb.37 for ; Tue, 08 Jul 2014 10:06:58 -0700 (PDT) X-Received: by 10.220.92.135 with SMTP id r7mr34619287vcm.11.1404839218312; Tue, 08 Jul 2014 10:06:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp788472vcb; Tue, 8 Jul 2014 10:06:58 -0700 (PDT) X-Received: by 10.58.127.130 with SMTP id ng2mr1279543veb.64.1404839217949; Tue, 08 Jul 2014 10:06:57 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id g6si18344307vcn.29.2014.07.08.10.06.57 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 08 Jul 2014 10:06:57 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X4Yp6-0005IB-Ci; Tue, 08 Jul 2014 17:04:56 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X4Yp5-0005I4-C6 for xen-devel@lists.xenproject.org; Tue, 08 Jul 2014 17:04:55 +0000 Received: from [85.158.139.211:63110] by server-16.bemta-5.messagelabs.com id 9B/9A-18862-6B42CB35; Tue, 08 Jul 2014 17:04:54 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-7.tower-206.messagelabs.com!1404839094!14404254!1 X-Originating-IP: [74.125.82.178] X-SpamReason: No, hits=0.0 required=7.0 tests=UPPERCASE_25_50 X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 6187 invoked from network); 8 Jul 2014 17:04:54 -0000 Received: from mail-we0-f178.google.com (HELO mail-we0-f178.google.com) (74.125.82.178) by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 8 Jul 2014 17:04:54 -0000 Received: by mail-we0-f178.google.com with SMTP id x48so6231492wes.37 for ; Tue, 08 Jul 2014 10:04:53 -0700 (PDT) X-Received: by 10.194.158.164 with SMTP id wv4mr5245107wjb.124.1404839093789; Tue, 08 Jul 2014 10:04:53 -0700 (PDT) Received: from belegaer.uk.xensource.com ([185.25.64.249]) by mx.google.com with ESMTPSA id 20sm95745331wjt.42.2014.07.08.10.04.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jul 2014 10:04:53 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Tue, 8 Jul 2014 18:04:48 +0100 Message-Id: <1404839088-10758-1-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 Cc: stefano.stabellini@citrix.com, Julien Grall , ian.jackson@eu.citrix.com, ian.campbell@citrix.com Subject: [Xen-devel] [PATCH] xen: Install arch-arm directory headers X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: Some headers for ARM are not installed on the host. This may make external software relying on Xen headers failed to compile on ARM. Signed-off-by: Julien Grall Acked-by: Ian Campbell --- This patch is candidate to be backported on Xen 4.4 --- tools/include/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/include/Makefile b/tools/include/Makefile index 9ed41f1..f7a6256 100644 --- a/tools/include/Makefile +++ b/tools/include/Makefile @@ -13,7 +13,7 @@ xen/.dir: mkdir -p xen/libelf ln -sf $(XEN_ROOT)/xen/include/public/COPYING xen ln -sf $(wildcard $(XEN_ROOT)/xen/include/public/*.h) xen - ln -sf $(addprefix $(XEN_ROOT)/xen/include/public/,arch-x86 hvm io xsm) xen + ln -sf $(addprefix $(XEN_ROOT)/xen/include/public/,arch-x86 arch-arm hvm io xsm) xen ln -sf ../xen-sys/$(XEN_OS) xen/sys ln -sf $(addprefix $(XEN_ROOT)/xen/include/xen/,libelf.h elfstructs.h) xen/libelf/ ln -s ../xen-foreign xen/foreign @@ -23,6 +23,8 @@ xen/.dir: install: all $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86/hvm + $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-arm + $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-arm/hvm $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/foreign $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/hvm $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/io @@ -32,6 +34,11 @@ install: all $(INSTALL_DATA) xen/*.h $(DESTDIR)$(INCLUDEDIR)/xen $(INSTALL_DATA) xen/arch-x86/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86 $(INSTALL_DATA) xen/arch-x86/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86/hvm + +# xen/arch-arm doesn't contains headers for now. Uncommented the line +# as soon as a new header is added +# $(INSTALL_DATA) xen/arch-arm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-arm + $(INSTALL_DATA) xen/arch-arm/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-arm/hvm $(INSTALL_DATA) xen/foreign/*.h $(DESTDIR)$(INCLUDEDIR)/xen/foreign $(INSTALL_DATA) xen/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/hvm $(INSTALL_DATA) xen/io/*.h $(DESTDIR)$(INCLUDEDIR)/xen/io