From nobody Mon Feb 9 14:50:26 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1487958478570645.7056546919753; Fri, 24 Feb 2017 09:47:58 -0800 (PST) Received: from localhost ([::1]:38924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chJyG-0006Pg-KY for importer@patchew.org; Fri, 24 Feb 2017 12:47:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chJrE-0007rG-9i for qemu-devel@nongnu.org; Fri, 24 Feb 2017 12:40:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chJrD-0002FP-F4 for qemu-devel@nongnu.org; Fri, 24 Feb 2017 12:40:40 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:32932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chJrD-0002FH-8T for qemu-devel@nongnu.org; Fri, 24 Feb 2017 12:40:39 -0500 Received: by mail-wm0-x242.google.com with SMTP id v77so4056920wmv.0 for ; Fri, 24 Feb 2017 09:40:39 -0800 (PST) Received: from 640k.lan (94-39-187-56.adsl-ull.clienti.tiscali.it. [94.39.187.56]) by smtp.gmail.com with ESMTPSA id s26sm8814533wra.66.2017.02.24.09.40.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Feb 2017 09:40:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=4EuZhRZuIxpA5vqH2tgR3oJXd5KRowZCOPX1QGa2j14=; b=TCPtYVhkHlEc7CPECVcTKy1hBGS2T+jcBjsfRORrVhCrAL+Pt+X48I0dmPjeS8IKGA GkzmmxYym8Qk9nXQhIyiP5cCH5o8KLw+k+WpYgCmt+bW43cw38AlKCk4chb5t0nElPwq fTVSL9r2OVX5bydQGsVMPDGDRki62LAK+OgLtToDkIYXUMnV3UkWKoR16M8aSn5C5gIO pbaHtllsRXswWpVoXvjF3Qns2zywDEqhCDtCxoG6xf6rdxoe3DPYVWLbGqEJouv6MdPr RymRsPw1eUa0bQXiUXQBPxELsuJNLKd3fw9T2XWy0Erve5aiQ81pS2mXjFPZntCKOb36 cZpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=4EuZhRZuIxpA5vqH2tgR3oJXd5KRowZCOPX1QGa2j14=; b=TtAsNWUhuNzL43pv4dZcxUCwg7YRzzbamPYSmS47RW5nslRoNuTIAL4kFx9TI1tPwH M4wUQWKj2Wy7L5KqgKZ/eyqbz8bkMl5fMbtykWEsZs+aaNdKlKtPqsyKGxwRGNWrVcQJ TroEaxXh8XgA2RkW+4KZENQ+WOXSyo6tFE0+fzWKCNCj+LL2ic68Dc4Qz8VMUxJh7Oz7 kr9NSD9Y6cDOJGWpUyVlXc0O2so9zYlNsf0w+EyLpSGoklNga2ALkY7jQUfLLs3c8FkY kiPlTy/fRcYPsIjFEUzpvzgr7oHPWBVJK+SsQNPFkfBdvLTkKLY88e9PDHhUGdYKpWiQ sI6A== X-Gm-Message-State: AMke39kV/w3isc8RIKBq9rOXIq1/VmykwqRdGtN++u7qkq9WHz5gz628w4FZd1y39hUZug== X-Received: by 10.28.48.7 with SMTP id w7mr3793576wmw.78.1487958038092; Fri, 24 Feb 2017 09:40:38 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Fri, 24 Feb 2017 18:40:17 +0100 Message-Id: <1487958030-51417-5-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1487958030-51417-1-git-send-email-pbonzini@redhat.com> References: <1487958030-51417-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PULL 04/17] update-linux-headers: update for 4.11 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The linux-headers/asm-arm/unistd.h file has been split in three sub-files, copy them along. However, building them requires setting ARCH rather than SRCARCH. SRCARCH defaults to $(ARCH) anyway; to avoid future occurrence of the same problem use ARCH for all architectures where SRCARCH=3DARCH. Currently these are all except x86, sparc, sh and tile. Signed-off-by: Paolo Bonzini --- scripts/update-linux-headers.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers= .sh index 72cf1fb..6a370a8 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update-linux-headers.sh @@ -75,7 +75,13 @@ for arch in $ARCHLIST; do continue fi =20 - make -C "$linux" INSTALL_HDR_PATH=3D"$tmpdir" SRCARCH=3D$arch headers_= install + if [ "$arch" =3D x86 ]; then + arch_var=3DSRCARCH + else + arch_var=3DARCH + fi + + make -C "$linux" INSTALL_HDR_PATH=3D"$tmpdir" $arch_var=3D$arch header= s_install =20 rm -rf "$output/linux-headers/asm-$arch" mkdir -p "$output/linux-headers/asm-$arch" @@ -92,6 +98,11 @@ for arch in $ARCHLIST; do cp_portable "$tmpdir/include/asm/kvm_virtio.h" "$output/include/st= andard-headers/asm-s390/" cp_portable "$tmpdir/include/asm/virtio-ccw.h" "$output/include/st= andard-headers/asm-s390/" fi + if [ $arch =3D arm ]; then + cp "$tmpdir/include/asm/unistd-eabi.h" "$output/linux-headers/asm-= arm/" + cp "$tmpdir/include/asm/unistd-oabi.h" "$output/linux-headers/asm-= arm/" + cp "$tmpdir/include/asm/unistd-common.h" "$output/linux-headers/as= m-arm/" + fi if [ $arch =3D x86 ]; then cp_portable "$tmpdir/include/asm/hyperv.h" "$output/include/standa= rd-headers/asm-x86/" cp "$tmpdir/include/asm/unistd_32.h" "$output/linux-headers/asm-x8= 6/" --=20 1.8.3.1