diff mbox series

nios2: add FORCE for vmlinuz.gz

Message ID 20221124032053.10627-1-rdunlap@infradead.org (mailing list archive)
State New, archived
Headers show
Series nios2: add FORCE for vmlinuz.gz | expand

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

Masahiro Yamada Nov. 24, 2022, 3:55 a.m. UTC | #1
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'
>
Masahiro Yamada Nov. 26, 2022, 11:32 p.m. UTC | #2
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 mbox series

Patch

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'