arch/nios2/boot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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'
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
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
© 2016 - 2026 Red Hat, Inc.