mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pbl: compile PBL decompression code optionally
@ 2024-05-17  7:48 Ahmad Fatoum
  2024-05-21  6:22 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-05-17  7:48 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

There's no point in compiling PBL decompression code when
CONFIG_HAVE_IMAGE_COMPRESSION is not selected, so reflect that in Kbuild
to save some build time.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 pbl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbl/Makefile b/pbl/Makefile
index 79837c56114a..f66391be7b28 100644
--- a/pbl/Makefile
+++ b/pbl/Makefile
@@ -5,7 +5,7 @@
 #
 pbl-y += misc.o
 pbl-y += string.o
-pbl-y += decomp.o
+pbl-$(CONFIG_HAVE_IMAGE_COMPRESSION) += decomp.o
 pbl-$(CONFIG_LIBFDT) += fdt.o
 pbl-$(CONFIG_PBL_CONSOLE) += console.o
 obj-pbl-y += handoff-data.o
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pbl: compile PBL decompression code optionally
  2024-05-17  7:48 [PATCH] pbl: compile PBL decompression code optionally Ahmad Fatoum
@ 2024-05-21  6:22 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-05-21  6:22 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Fri, 17 May 2024 09:48:43 +0200, Ahmad Fatoum wrote:
> There's no point in compiling PBL decompression code when
> CONFIG_HAVE_IMAGE_COMPRESSION is not selected, so reflect that in Kbuild
> to save some build time.
> 
> 

Applied, thanks!

[1/1] pbl: compile PBL decompression code optionally
      https://git.pengutronix.de/cgit/barebox/commit/?id=05cc671bbebb (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-21  6:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-17  7:48 [PATCH] pbl: compile PBL decompression code optionally Ahmad Fatoum
2024-05-21  6:22 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox