Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2524517imu; Tue, 6 Nov 2018 16:37:38 -0800 (PST) X-Google-Smtp-Source: AJdET5eEeCkFUk3eokr7ELCtV9ab0PQ9T3hFbi3BiaWlP/VoydGrpfzC87TvCdjb8WhJxgSEFqG4 X-Received: by 2002:a63:9f0a:: with SMTP id g10-v6mr24259297pge.232.1541551058326; Tue, 06 Nov 2018 16:37:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541551058; cv=none; d=google.com; s=arc-20160816; b=F5Et1RVJIokUNe8zOOYk+D/byDtxddC0MkCmn6nmf/AhGU7WC8mm2Ah0WnceuFaYND USci1aIae1oXnjOPNT5yvUS5qIyo4XDgI6zpfDodV+feyCTOeNb1e7qeoYacK37eAWfY NVP5bJNKrHgHYZEdCXPohkELlzjL+B9vejvWP3t/ARdV1RE+etpTxRxXTjV6FlFerOIx rrqCFWeghaT2+x0umGPqzPZAyjxHntSJla9rgrytC31/BMGYEOFvNoQkjMMWIm6Up6ie +xjkruSH/sDlrbF6nS1TR22IRWVvmOpokl1XRXIAjJ4/vPi6dFbiFIm+fpW+bpOxUVpi CkJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=LO16PbJ/K3AArKyoRoeZEi/U/eQfkTbEnqcKbY4deoI=; b=FofdtZQC+K14w2QPCXMAgFQma8wzhiOw1UUXeydlctEDpIL+k94Kv78OONayd0dfzp MAuOH04OVEus0kVlH6qvBYLlVW4FoBDX/9MBlNOaAkKrahzzMYIYs9LywYZbpztHMBCT J1nNeIKq9ISshs/6rAXdz7Nc0wU5DDgqUcwBu0f5AKehPLl2hMCUo95xwcleivGCgzyu lQo8kZSr1iRRf1pUCokJnsa32qATfBsuSAQJXe9LiCoHNLAY5ZkzW3LJhmRlsZitSzOR 0no+ad1TY429bAeRcKeNHeX6zdmY0ubUnGxAAr9OGYoMWca5YLHHf6zPvD1ZbqJ4UUZc TmKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=hxr9KTSH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w185si26290121pgd.518.2018.11.06.16.37.23; Tue, 06 Nov 2018 16:37:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=hxr9KTSH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388806AbeKGKBB (ORCPT + 99 others); Wed, 7 Nov 2018 05:01:01 -0500 Received: from mail-pg1-f181.google.com ([209.85.215.181]:46464 "EHLO mail-pg1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388662AbeKGKBA (ORCPT ); Wed, 7 Nov 2018 05:01:00 -0500 Received: by mail-pg1-f181.google.com with SMTP id w7so6550387pgp.13 for ; Tue, 06 Nov 2018 16:33:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=LO16PbJ/K3AArKyoRoeZEi/U/eQfkTbEnqcKbY4deoI=; b=hxr9KTSH9XsaL4QSDJGSeq2D7gYeQ+gSc4OSBVALcwhj1kftBwqw0NuBZf6oh4+f7j u0S1oRB43INpUzkiy3mRcIY/yixQlNtXhTLJj+LNBDXNWXKGRDxdn5Hczr8QqEu8sqWv WaaDhV7OVsHaF6fY9FqksrxQBJgPrXE2+ywbKzE20DcHB1CK5Gh2TOhERzmafogf4sGl +CWg7W4DCmA9oGdk1tGRhkZDGGYRpfxUZkG4kFZm5DAVUJFYcRh+f83SuHTETu6tYhXX +XAi3OAQeRPOUBy/7ccJ+K8cyPFKnUCloH5soKs9yr5YeOWUnO+vIagHXE7nQbgN3xBG sSDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=LO16PbJ/K3AArKyoRoeZEi/U/eQfkTbEnqcKbY4deoI=; b=rCnN/J+bBQKlluf0aEaaV/lMPo9eEUWitcbYBLAIcGtsHsS7xVtu1sTk/PD5/7aGHj eEY/8+jo1664HnjMvRhlq/RGP8VkrTi5NHKFWIE08YXuqDncQYZmSCFBJvDlWD5fDMYv cRNUV2pG6qQUF7Mz8bhBNImxjOxrtYtbm8DWq85/PzPHOr0PG7/ZYbY+0/BR5WdYT45d 8i3L6MYketOfa56xHjKW/05f4myZb2caP4jPeEk2M5hUnotX5k/ENoJwUIlaoWz+qmKj 2bd+lRW+z2vXoFWIR3nMFiL9gg8IT8JL/tuEhCpK1baUjX6HyUk5Nrni+WDE1HtkEGNA QmLg== X-Gm-Message-State: AGRZ1gJ3pjcvqVyg/UJ1mNKCLE6k2iulqfI8alWEae0I2owPAo9fpMl9 vx2OoZLGOXN1bQKGQYS/pqKt6g== X-Received: by 2002:a62:60c6:: with SMTP id u189-v6mr20707613pfb.191.1541550785551; Tue, 06 Nov 2018 16:33:05 -0800 (PST) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id d126-v6sm68107654pgc.32.2018.11.06.16.33.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 16:33:04 -0800 (PST) Date: Tue, 06 Nov 2018 16:33:04 -0800 (PST) X-Google-Original-Date: Tue, 06 Nov 2018 16:30:16 PST (-0800) Subject: Re: [PATCH] riscv: add missing vdso_install target In-Reply-To: <20181105143537.27396-1-david.abdurachmanov@gmail.com> CC: aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, david.abdurachmanov@gmail.com From: Palmer Dabbelt To: david.abdurachmanov@gmail.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 05 Nov 2018 06:35:37 PST (-0800), david.abdurachmanov@gmail.com wrote: > Building kernel 4.20 for Fedora as RPM fails, because riscv is missing > vdso_install target in arch/riscv/Makefile. > > Signed-off-by: David Abdurachmanov > --- > arch/riscv/Makefile | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile > index d10146197533..4af153a182b0 100644 > --- a/arch/riscv/Makefile > +++ b/arch/riscv/Makefile > @@ -77,4 +77,8 @@ core-y += arch/riscv/kernel/ arch/riscv/mm/ > > libs-y += arch/riscv/lib/ > > +PHONY += vdso_install > +vdso_install: > + $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@ > + > all: vmlinux While this doesn't smell like it should be an arch-specific thing, it looks like everyone else has a copy and they're all slightly different so it'd probably be more complexity to merge them than duplicate them. I'll take this into my PR for next week. Thanks!