Re: [PATCH] nios2: add FORCE for vmlinuz.gz

From: Masahiro Yamada
Date: Wed Nov 23 2022 - 22:56:29 EST


On Thu, Nov 24, 2022 at 12:21 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> Cc: Dinh Nguyen <dinguyen@xxxxxxxxxx>
> Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> Cc: linux-kbuild@xxxxxxxxxxxxxxx


Assuming this will go to the NIOS2 tree,

Reviewed-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>



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