Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2485991pxb; Mon, 18 Jan 2021 20:51:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJw37dW7QYTM3o1TFjBt45iRs1O3Nat40lcMjKzvzS3iKZfT3nO2VJr3eHGG2Hw2Cq1tygB3 X-Received: by 2002:aa7:cd44:: with SMTP id v4mr1998200edw.156.1611031893089; Mon, 18 Jan 2021 20:51:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611031893; cv=none; d=google.com; s=arc-20160816; b=gFOHz5Iff1fXxihHQ6IL330oXnX/KqsQf68zMB3OYREMfI/EsYoQ1aNVDl87gbfjd2 4eQVQyX7TLh6gM5ZSOU8NzfhJ3FjuU5F1WG9vk1UspYGhkX4hwjHeOClr/GIsRy4/nsQ ZvxmYxEtB/XiqedJ91npkk2tO3aBW6Ed4nKpJv2uCV6POzkHHegm+2BFONUi9Jnwz3O1 d9jHX68Q6HvB68ZRRPkEsDUPjLs4dTaEos07Nw4OmP3VfhkrG33EvnyLoyYL83sGEmVf M0+oXm2R4CRv75B3Eay6GK+i4s3qFDujzo+8LFVDrslbdAxQeWT4ZApvNoSrDv07uCnT XWdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=sXIJei+vBQbJGbMiAOvuTB8J77FuTx87L4ES03LF6dM=; b=rdxDWAkbFc+xeXEdLxKiI9mpdE1Jw7PjPR1UfRm1+OHfNzw8zeMVXLemC3rN3u5Xj3 u1SD+4AEC80M9of5MWTZV9qq0kekOCPbDaWTYigBwUFpICZ0tZFETPLjDSlNdzUWH/yK Geh4yXhsdFWLxhThnOqhHUVK8D0sf3ODdxPKBh6agp1Is6GYXTXtJWAAVphCRI1Opj3n B+VtL/lNL+Z8G3Gsx/CpxTZCjEfJbTITzeNBuAgCeCWO5x9jsNgrfYAVm1xYobzHzqMl 8CRSJDi41H/sZkr3iiUfEDANcHMmdZMQ9GaaSUl5wNS4a2PLWpGci/N7ZkiFSW09aefI BU7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dg1si2340319edb.46.2021.01.18.20.50.59; Mon, 18 Jan 2021 20:51:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407043AbhARRat (ORCPT + 99 others); Mon, 18 Jan 2021 12:30:49 -0500 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:48733 "EHLO outpost1.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393730AbhARR2C (ORCPT ); Mon, 18 Jan 2021 12:28:02 -0500 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1l1YJE-0016xF-Iv; Mon, 18 Jan 2021 18:27:20 +0100 Received: from p5b13a61e.dip0.t-ipconnect.de ([91.19.166.30] helo=[192.168.178.139]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1l1YJD-001Lj5-Rm; Mon, 18 Jan 2021 18:27:20 +0100 Subject: Re: [PATCH 1/2] sh: boot: add intermediate vmlinux.bin* to targets instead of extra-y To: Masahiro Yamada , Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org Cc: linux-kernel@vger.kernel.org References: <20210117111632.2392635-1-masahiroy@kernel.org> From: John Paul Adrian Glaubitz Message-ID: <55b6adf4-e95a-cfd8-447f-4a11f6a1f3b9@physik.fu-berlin.de> Date: Mon, 18 Jan 2021 18:27:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210117111632.2392635-1-masahiroy@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 91.19.166.30 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/17/21 12:16 PM, Masahiro Yamada wrote: > You do not need to build all of vmlinux.bin* > > They are built on demand as prerequsites of uImage.bin*, hence should > be added to targets instead of extra-y. > > Signed-off-by: Masahiro Yamada > --- > > arch/sh/boot/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile > index 58592dfa5cb6..dded61296c9a 100644 > --- a/arch/sh/boot/Makefile > +++ b/arch/sh/boot/Makefile > @@ -27,8 +27,8 @@ suffix-$(CONFIG_KERNEL_XZ) := xz > suffix-$(CONFIG_KERNEL_LZO) := lzo > > targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz \ > - uImage.bz2 uImage.lzma uImage.xz uImage.lzo uImage.bin > -extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \ > + uImage.bz2 uImage.lzma uImage.xz uImage.lzo uImage.bin \ > + vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \ > vmlinux.bin.xz vmlinux.bin.lzo > subdir- := compressed romimage Successfully boot-tested on my SH-7785LCR. No regressions. Tested-by: John Paul Adrian Glaubitz -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913