Skip to contentSkip to conversation

MIPS: Fix vmlinuz build when ZBOOT is selected

PATCH In review Daniel Sabogal 3 participants 3 messages Jan 16, 2018 – Feb 1, 2018 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Fix vmlinuz build when ZBOOT is selected

vmlinuz is not built by default for platforms using COMPRESSION_FNAME (e.g. Malta) due to an erroneous check on ZBOOT

---
 arch/mips/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/Makefile +1 -1
index 9f6a26d72f9f..0f20f84de53b 100644
@@ -228,7 +228,7 @@ libs-y				+= arch/mips/fw/lib/
 #
 # Kernel compression
 #
-ifdef SYS_SUPPORTS_ZBOOT
+ifdef CONFIG_SYS_SUPPORTS_ZBOOT
 COMPRESSION_FNAME		= vmlinuz
 else
 COMPRESSION_FNAME		= vmlinux
Signature · 1 line
2.15.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Daniel Sabogal

vmlinuz is not built by default for platforms using COMPRESSION_FNAME (e.g. Malta) due to an erroneous check on ZBOOT

Cheers
James

Quoted 21 lines
---
 arch/mips/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/Makefile +1 -1
index 9f6a26d72f9f..0f20f84de53b 100644
@@ -228,7 +228,7 @@ libs-y				+= arch/mips/fw/lib/
 #
 # Kernel compression
 #
-ifdef SYS_SUPPORTS_ZBOOT
+ifdef CONFIG_SYS_SUPPORTS_ZBOOT
 COMPRESSION_FNAME		= vmlinuz
 else
 COMPRESSION_FNAME		= vmlinux
Signature · 1 line
2.15.0
#2 lore raw
In reply to Daniel Sabogal
Quoted 5 lines · Daniel Sabogal

vmlinuz is not built by default for platforms using COMPRESSION_FNAME (e.g. Malta) due to an erroneous check on ZBOOT

I've already applied this to my 4.16 branch,

Thanks
James

Quoted 21 lines
---
 arch/mips/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/Makefile +1 -1
index 9f6a26d72f9f..0f20f84de53b 100644
@@ -228,7 +228,7 @@ libs-y				+= arch/mips/fw/lib/
 #
 # Kernel compression
 #
-ifdef SYS_SUPPORTS_ZBOOT
+ifdef CONFIG_SYS_SUPPORTS_ZBOOT
 COMPRESSION_FNAME		= vmlinuz
 else
 COMPRESSION_FNAME		= vmlinux
Signature · 1 line
2.15.0