All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nios2: add FORCE for vmlinuz.gz
@ 2022-11-24  3:20 Randy Dunlap
  2022-11-24  3:55 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2022-11-24  3:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Dinh Nguyen, Masahiro Yamada, linux-kbuild

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(-)

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'
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] nios2: add FORCE for vmlinuz.gz
  2022-11-24  3:20 [PATCH] nios2: add FORCE for vmlinuz.gz Randy Dunlap
@ 2022-11-24  3:55 ` Masahiro Yamada
  2022-11-26 23:32   ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2022-11-24  3:55 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, Dinh Nguyen, linux-kbuild

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'
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] nios2: add FORCE for vmlinuz.gz
  2022-11-24  3:55 ` Masahiro Yamada
@ 2022-11-26 23:32   ` Masahiro Yamada
  0 siblings, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2022-11-26 23:32 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, Dinh Nguyen, linux-kbuild

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.









-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-26 23:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-24  3:20 [PATCH] nios2: add FORCE for vmlinuz.gz Randy Dunlap
2022-11-24  3:55 ` Masahiro Yamada
2022-11-26 23:32   ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.