Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2667672ybl; Sat, 7 Dec 2019 21:32:43 -0800 (PST) X-Google-Smtp-Source: APXvYqyNYY1dU4zK7J8NZkFYpzd+zPctz8PbkDJBytf4dEx/t7+h2Fhnineo8PNJbAaOMp1LBxuJ X-Received: by 2002:a9d:7757:: with SMTP id t23mr17617498otl.315.1575783163022; Sat, 07 Dec 2019 21:32:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575783163; cv=none; d=google.com; s=arc-20160816; b=auqqsN19RQmg5vq2WZ10yk08HFk4MgZ3E/vL2TX1UnXwE//05GwkM4cjdTIgpV8hgV wUVVun9ntVdMkU7kkn9lI9AofyYuYMzrP9q40pSsOW7w7bP5vf20tl9mdGMAuWZxkyXW G5QB+ZrZVmbea0M2wK/hIrTONy9Lv0IFaktZ6nY5xcLBv2XyYIJ2BWtq5wTuIKh3esVb Xr0zI4i8sa4cMVzcwls3nm98rs98GropV1uMY1Purz+pLQB3K5/p+RlVFiyLjeqGxPsw JgJ8hIiM7pzejtxUeSESPUiXj+1VFaQs/5Htq2r833jvZsbJxDOR3BQPaBqoV0BeNfJt fRVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=z9pquV3bCMWDZGt16luo26JnnZC+AO01g0+9zHilts8=; b=0QSlj5J5pCCa8pe4VX68ZLvh9vCXTND1GXD3cLKec/wjpgMSslbjxAFYeDkrbAM+SZ thFKHG1bAGmVAiXvNQycdaG0E79+7pYpfdBq856OYM0d6zUt8xwpx4vZdsm/zf2T3vgz axw4wVysbnsfWRLYgz8fPoacTvvTRLPLLUYmgA6nXcM+bB4JPBBZqI+3ZyN5BvXimAde O40YuDSoOP8TpbNrvfvdp0p7JSu37TRz1GtUdnktQuzJIBVQMyRs6Eud27uAVBoLrEAo 0ZINP/+J3Y+Fi9r0nwpDm7R+YIoJqXhDJEMXS0TaZJZ2eI0ux0HgrHmq6q8FPqmNUgcj LsUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=jLkzEE1E; 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 v129si9625320oib.156.2019.12.07.21.31.59; Sat, 07 Dec 2019 21:32:43 -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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=jLkzEE1E; 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 S1725878AbfLHF1l (ORCPT + 99 others); Sun, 8 Dec 2019 00:27:41 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34723 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725263AbfLHF1k (ORCPT ); Sun, 8 Dec 2019 00:27:40 -0500 Received: by mail-wr1-f67.google.com with SMTP id t2so12333540wrr.1 for ; Sat, 07 Dec 2019 21:27:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z9pquV3bCMWDZGt16luo26JnnZC+AO01g0+9zHilts8=; b=jLkzEE1Emr1PE83CAnq1AgI/inVp1i1XP/A3KxFtGeJPzlHjql/AW7qbDdoJ6RkwP/ M/blOWuFrHwTqVu0HD7XU6oBygARII63Io7FMuwFIxSBZNWXQE31nohsv70D5gUG4c0i lNvmgd8v9iiNwDU13GC2k+iVIOlGqM5ZLBBwFS0BOKt6JCa7on8rMz9kSlcs7esYIHgo fvsHYFEuxDFHfp+pl5oEMOHRNsbovOC8155cnN2xpFkU2AfJHF/8Ko8IyKuo7p2XDSiq 71OYrCMOENeHGiW1mvRDeWIrxseD+Z++mGviUs4LIgYBh6i6l3P4WQsYall4BQaOHbjs zn5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z9pquV3bCMWDZGt16luo26JnnZC+AO01g0+9zHilts8=; b=acEQjW6HI7SHZX5nHrVrHKGjFsb0bF5gQC8bm/qYyGGFRbv5yduc1QKuSriPb+Sc0i w3EqawFrHYIYd4PPpVq+LWNYI7e+uMKyC6vJR1dQN1J7zdMttzYY2bv99jzmOE0mdy13 PvsXEhyCevaIEC0K5uk2ANsghpenqLhfyM5r7ifTXWC7CZ3EJ8PtSrr4vn9FfTjUO7HT T63pLIC4xS0tm2n0E40GeKhOx8ku+eqGuqZMssnfbIuCkLK+uPdKvvdrOcecHDQvtp1f 7K5WRiZRcKYizpcjcaIDVhgusJKwr9hhxngT1LFWgKaVrQzO4pYCrZ7ENJaCC/eqo9x5 sezQ== X-Gm-Message-State: APjAAAU9b7G6Ut1CD25uzUEAMtcB2Fcoq/kathZMgdcw+8jIRAE2/obt epEHkHX1XP0ZZKFHQruhiRXr8ou2CVdGcpCE4Ju8xw== X-Received: by 2002:adf:d850:: with SMTP id k16mr22791152wrl.96.1575782858366; Sat, 07 Dec 2019 21:27:38 -0800 (PST) MIME-Version: 1.0 References: <20191207212916.130825-1-olof@lixom.net> In-Reply-To: <20191207212916.130825-1-olof@lixom.net> From: Anup Patel Date: Sun, 8 Dec 2019 10:57:27 +0530 Message-ID: Subject: Re: [PATCH] riscv: Fix build dependency for loader To: Olof Johansson Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv , "linux-kernel@vger.kernel.org List" , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 8, 2019 at 2:59 AM Olof Johansson wrote: > > The Makefile addition for the flat image loader missed an obj prefix. > > For most parallel builds this worked out fine, but with -j1 the dependency > wasn't fulfilled and thus fails: > > arch/riscv/boot/loader.S: Assembler messages: > arch/riscv/boot/loader.S:7: Error: file not found: arch/riscv/boot/Image > > Fixes: 405fe7aa0dba ("riscv: provide a flat image loader") > Cc: Christoph Hellwig > Signed-off-by: Olof Johansson LGTM. Reviewed-by: Anup Patel Regards, Anup > --- > arch/riscv/boot/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/boot/Makefile b/arch/riscv/boot/Makefile > index a474f98ce4fae..36db8145f9f46 100644 > --- a/arch/riscv/boot/Makefile > +++ b/arch/riscv/boot/Makefile > @@ -24,7 +24,7 @@ $(obj)/Image: vmlinux FORCE > $(obj)/Image.gz: $(obj)/Image FORCE > $(call if_changed,gzip) > > -loader.o: $(src)/loader.S $(obj)/Image > +$(obj)/loader.o: $(src)/loader.S $(obj)/Image > > $(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE > $(Q)$(LD) -T $(obj)/loader.lds -o $@ $(obj)/loader.o > -- > 2.11.0 >