[PATCH] pbl: compile PBL decompression code optionally

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux