Message ID | 20221124032053.10627-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3166542wrr; Wed, 23 Nov 2022 19:27:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf51+46o9PspLwxpUfEQG9sYFUa/lGKVCrY7PUAczFM5xLxKm0lN40jkUb2vTpj4aQtVbq86 X-Received: by 2002:a17:906:d8ad:b0:7ae:9187:eb70 with SMTP id qc13-20020a170906d8ad00b007ae9187eb70mr24557526ejb.533.1669260469749; Wed, 23 Nov 2022 19:27:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669260469; cv=none; d=google.com; s=arc-20160816; b=mi0bcHiWAR3pIprGxreKoJzenx/I0wz6FqdINxFlLgLFCdVtdiJ+oSEWUWFxGgWvu6 8zpGPRrdlT1LaXLYTrYNbiP/J4zSKU3o8jQ2FoKikbAR8huM94BmgTmD0pLUvGRuMTWx 20IVAVwFb0pTtrU9TW9JEBkYzD6Bc+VvowJZFY79rCUTooDRWPpPJFIALLpxOipfa6Wb iI1ySGYXRKpplgDwrO230zRewkvHsPHOyb7R5k/Oqt7ntVi/GaJelTbg1lTJX2ewJAhA efv+n4YjGVOAnxxhdAzzFqnMby2OZTAbvm1KRmgBQ/dtsX1OwawZQ+drHMFRXFmF6DOc w9VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XMTSR7SDwyNd3oXIu5/PkAuvtrfQZfl5dbS6vm4yTUI=; b=k+PxLcEqp9CX9dTqftRpPonHoKyjMXXOVOTC3FHZswvnoYUo3mw98gzrNGVjVRpaQF WdRnbmWP3d51yBN6+tGdSozuY1qR9CUSczo3DE5pk5fBhOWHP/vfP6GT1DUd1IKV78FU 80vSgyA+dN9cjCZKN+23Ro0GatDqJ46At+fzv0wbwQ9J3qhDMpDjU48HSURr91F7yTwo qc280sn0tB5wI3FxIKvPfepdqI0xzzeLv6zej8k8I1YU+0HE+jqub6kH+qeQ5b6BU3S4 NyAOkkT6zq4Hy6UAjbHLpH113XRKbapdJxiU/rN+6rgyQUbVfaJLJjRqbU8lj2FW0P2F CMcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=tMziuvtr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 17-20020a170906059100b00783d1a13d69si12432579ejn.231.2022.11.23.19.27.24; Wed, 23 Nov 2022 19:27:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=tMziuvtr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbiKXDVF (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Wed, 23 Nov 2022 22:21:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229928AbiKXDVE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 23 Nov 2022 22:21:04 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C18DCFA5D; Wed, 23 Nov 2022 19:21:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=XMTSR7SDwyNd3oXIu5/PkAuvtrfQZfl5dbS6vm4yTUI=; b=tMziuvtrcGOA34JUGsJyUuX66T YaKMCojjOU7Wpq4ZvqkWfbqDOAE9hHvglTE+wByjBtL11vOKLcoT3kkKRupc/l/zyk+o3twQd+iG4 iuJsAKm6J/e7MGTipWEQIiaHwLykmpVMo1yK+auGinokxew560S/TaHFSeShvtRMA5jSXDfplqJAy JeY4R+AGHhrBjS1tBj4TisFzDySQCfHDy5frtwKI3Hx2atPOoTzLwFoQcez2oCc9pTaWjBvGiu0em mEiREoooWLpPKboWJ9yunH1hpyPurs8KGLfg0Em85Z2Lxep7vHaS1XSuF/luXTgZO1dTSHt/GjXNZ G6r2rXYQ==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oy2nR-008KrZ-IR; Thu, 24 Nov 2022 03:21:06 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Dinh Nguyen <dinguyen@kernel.org>, Masahiro Yamada <masahiroy@kernel.org>, linux-kbuild@vger.kernel.org Subject: [PATCH] nios2: add FORCE for vmlinuz.gz Date: Wed, 23 Nov 2022 19:20:53 -0800 Message-Id: <20221124032053.10627-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750346465964603899?= X-GMAIL-MSGID: =?utf-8?q?1750346465964603899?= |
Series |
nios2: add FORCE for vmlinuz.gz
|
|
Commit Message
Randy Dunlap
Nov. 24, 2022, 3:20 a.m. UTC
Add FORCE to placate a warning from make:
arch/nios2/boot/Makefile:24: FORCE prerequisite is missing
Fixes: 2fc8483fdcde ("nios2: Build infrastructure")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org
---
arch/nios2/boot/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Nov 24, 2022 at 12:21 PM Randy Dunlap <rdunlap@infradead.org> wrote: > > Add FORCE to placate a warning from make: > > arch/nios2/boot/Makefile:24: FORCE prerequisite is missing > > Fixes: 2fc8483fdcde ("nios2: Build infrastructure") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Dinh Nguyen <dinguyen@kernel.org> > Cc: Masahiro Yamada <masahiroy@kernel.org> > Cc: linux-kbuild@vger.kernel.org Assuming this will go to the NIOS2 tree, Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> Please let me know if I should apply this to kbuild tree. > --- > arch/nios2/boot/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/arch/nios2/boot/Makefile b/arch/nios2/boot/Makefile > --- a/arch/nios2/boot/Makefile > +++ b/arch/nios2/boot/Makefile > @@ -20,7 +20,7 @@ $(obj)/vmlinux.bin: vmlinux FORCE > $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE > $(call if_changed,gzip) > > -$(obj)/vmImage: $(obj)/vmlinux.gz > +$(obj)/vmImage: $(obj)/vmlinux.gz FORCE > $(call if_changed,uimage) > @$(kecho) 'Kernel: $@ is ready' >
On Thu, Nov 24, 2022 at 12:55 PM Masahiro Yamada <masahiroy@kernel.org> wrote: > > On Thu, Nov 24, 2022 at 12:21 PM Randy Dunlap <rdunlap@infradead.org> wrote: > > > > Add FORCE to placate a warning from make: > > > > arch/nios2/boot/Makefile:24: FORCE prerequisite is missing > > > > Fixes: 2fc8483fdcde ("nios2: Build infrastructure") > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > > Cc: Dinh Nguyen <dinguyen@kernel.org> > > Cc: Masahiro Yamada <masahiroy@kernel.org> > > Cc: linux-kbuild@vger.kernel.org > > > Assuming this will go to the NIOS2 tree, > > Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> > > > > Please let me know if I should apply this to kbuild tree. > I changed my mind and applied this to linux-kbuild/fixes. I have another chance to send a pull request soon. Thanks.
diff -- a/arch/nios2/boot/Makefile b/arch/nios2/boot/Makefile --- a/arch/nios2/boot/Makefile +++ b/arch/nios2/boot/Makefile @@ -20,7 +20,7 @@ $(obj)/vmlinux.bin: vmlinux FORCE $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE $(call if_changed,gzip) -$(obj)/vmImage: $(obj)/vmlinux.gz +$(obj)/vmImage: $(obj)/vmlinux.gz FORCE $(call if_changed,uimage) @$(kecho) 'Kernel: $@ is ready'