diff mbox series

[1/2] MIPS: enable both vmlinux.gz.itb and vmlinuz for generic

Message ID 20211222134346.1366067-1-yunqiang.su@cipunited.com (mailing list archive)
State Accepted
Commit 31b2f3dc851c65fee288612432c4fc956f1a264e
Headers show
Series [1/2] MIPS: enable both vmlinux.gz.itb and vmlinuz for generic | expand

Commit Message

YunQiang Su Dec. 22, 2021, 1:43 p.m. UTC
vmlinux.gz.itb should be appended to all-$(CONFIG_MIPS_GENERIC)
instead of replacing. Otherwise, no vmlinuz will be built.

Signed-off-by: YunQiang Su <yunqiang.su@cipunited.com>
---
 arch/mips/generic/Platform | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Bogendoerfer Jan. 2, 2022, 1:26 p.m. UTC | #1
On Wed, Dec 22, 2021 at 01:43:45PM +0000, YunQiang Su wrote:
> vmlinux.gz.itb should be appended to all-$(CONFIG_MIPS_GENERIC)
> instead of replacing. Otherwise, no vmlinuz will be built.
> 
> Signed-off-by: YunQiang Su <yunqiang.su@cipunited.com>
> ---
>  arch/mips/generic/Platform | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/mips/generic/Platform b/arch/mips/generic/Platform
> index e1abc113b409..d7c8cff6de2c 100644
> --- a/arch/mips/generic/Platform
> +++ b/arch/mips/generic/Platform
> @@ -14,7 +14,7 @@ cflags-$(CONFIG_MIPS_GENERIC)	+= -I$(srctree)/arch/mips/include/asm/mach-generic
>  
>  load-$(CONFIG_MIPS_GENERIC)	+= 0xffffffff80100000
>  zload-$(CONFIG_MIPS_GENERIC)	+= 0xffffffff81000000
> -all-$(CONFIG_MIPS_GENERIC)	:= vmlinux.gz.itb
> +all-$(CONFIG_MIPS_GENERIC)	+= vmlinux.gz.itb
>  
>  its-y					:= vmlinux.its.S
>  its-$(CONFIG_FIT_IMAGE_FDT_BOSTON)	+= board-boston.its.S
> -- 
> 2.30.2

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/generic/Platform b/arch/mips/generic/Platform
index e1abc113b409..d7c8cff6de2c 100644
--- a/arch/mips/generic/Platform
+++ b/arch/mips/generic/Platform
@@ -14,7 +14,7 @@  cflags-$(CONFIG_MIPS_GENERIC)	+= -I$(srctree)/arch/mips/include/asm/mach-generic
 
 load-$(CONFIG_MIPS_GENERIC)	+= 0xffffffff80100000
 zload-$(CONFIG_MIPS_GENERIC)	+= 0xffffffff81000000
-all-$(CONFIG_MIPS_GENERIC)	:= vmlinux.gz.itb
+all-$(CONFIG_MIPS_GENERIC)	+= vmlinux.gz.itb
 
 its-y					:= vmlinux.its.S
 its-$(CONFIG_FIT_IMAGE_FDT_BOSTON)	+= board-boston.its.S