-- 
Ward Vandewege <[EMAIL PROTECTED]>
Free Software Foundation - Senior System Administrator
Automatically disable LZMA compression for OFW and FILO, as it does not work
for those payloads.

Signed-off-by: Ward Vandewege <[EMAIL PROTECTED]>

Index: config/payloads/payloads.conf
===================================================================
--- config/payloads/payloads.conf	(revision 17)
+++ config/payloads/payloads.conf	(working copy)
@@ -26,6 +26,16 @@
 
 include $(CONFIG_DIR)/payloads/$(PCONF-y)
 
+# FILO payload does not support LZMA compression
+ifeq ($(CONFIG_PAYLOAD_FILO),y)
+CONFIG_USE_LZMA = ''
+endif
+
+# OFW payload does not support LZMA compression
+ifeq ($(CONFIG_PAYLOAD_OFW),y)
+CONFIG_USE_LZMA = ''
+endif
+
 # Add LZMA if it is enabled
 HOSTTOOLS-$(CONFIG_USE_LZMA) += lzma
 
Index: Config.in
===================================================================
--- Config.in	(revision 17)
+++ Config.in	(working copy)
@@ -10,7 +10,7 @@
 	bool "See the build output on stdout"
 	default n
 	help
-	  See the entire build output on stdout.  Otherwise, it will
+	  See the entire build output on stdout. Otherwise, it will
 	  be saved off in a series of logs
 
 config ADVANCED
@@ -26,8 +26,9 @@
 	depends !PAYLOAD_OFW
 	default y
 	help
-	  Allow LZMA compression for the payload.  This doesn't work
-	  for OFW.
+	  Allow LZMA compression for the payload. This doesn't work
+	  for FILO or OFW, and will be disabled automatically if you
+	  choose 'y' here and FILO/OFW as a payload. 
 
 
 config LB_USE_BUILD
-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to