mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Florian Fainelli <florian@openwrt.org>
To: lasse.collin@tukaani.org
Cc: linux-kernel@vger.kernel.org, Florian Fainelli <florian@openwrt.org>
Subject: [PATCH 2/2] decompressors: make the default XZ_BCJ_* config match the selected architecture
Date: Tue, 15 Jan 2013 17:22:10 +0100	[thread overview]
Message-ID: <1358266931-23401-2-git-send-email-florian@openwrt.org> (raw)
In-Reply-To: <1358266931-23401-1-git-send-email-florian@openwrt.org>

This patch changes the defautl XZ_BCJ_* config symbol to match the
configured architecture. It is perfectly legitimate to support multiple
XZ BCJ filters for different architectures (e.g.: to mount foreign
squashfs/xz compressed filesystems), it is however more natural not to
select them all by default, but only the one matching the configured
architecture.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 lib/xz/Kconfig |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/xz/Kconfig b/lib/xz/Kconfig
index 12d2d777..90264dd 100644
--- a/lib/xz/Kconfig
+++ b/lib/xz/Kconfig
@@ -10,32 +10,32 @@ if XZ_DEC
 
 config XZ_DEC_X86
 	bool "x86 BCJ filter decoder" if EXPERT
-	default y
+	default y if X86
 	select XZ_DEC_BCJ
 
 config XZ_DEC_POWERPC
 	bool "PowerPC BCJ filter decoder" if EXPERT
-	default y
+	default y if POWERPC
 	select XZ_DEC_BCJ
 
 config XZ_DEC_IA64
 	bool "IA-64 BCJ filter decoder" if EXPERT
-	default y
+	default y if IA64
 	select XZ_DEC_BCJ
 
 config XZ_DEC_ARM
 	bool "ARM BCJ filter decoder" if EXPERT
-	default y
+	default y if ARM
 	select XZ_DEC_BCJ
 
 config XZ_DEC_ARMTHUMB
 	bool "ARM-Thumb BCJ filter decoder" if EXPERT
-	default y
+	default y if (ARM && ARM_THUMB)
 	select XZ_DEC_BCJ
 
 config XZ_DEC_SPARC
 	bool "SPARC BCJ filter decoder" if EXPERT
-	default y
+	default y if SPARC64
 	select XZ_DEC_BCJ
 
 endif
-- 
1.7.10.4


  reply	other threads:[~2013-01-15 16:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 16:22 [PATCH 1/2] decompressors: group XZ_DEC_* symbols under an if XZ_BCJ / endif Florian Fainelli
2013-01-15 16:22 ` Florian Fainelli [this message]
2013-01-15 18:11   ` [PATCH 2/2] decompressors: make the default XZ_BCJ_* config match the selected architecture Lasse Collin
2013-01-16  9:33     ` Florian Fainelli
2013-01-18 21:06       ` Lasse Collin
2013-01-25 12:30 ` [PATCH 1/3] decompressors: group XZ_DEC_* symbols under an if XZ_BCJ / endif Florian Fainelli
2013-01-25 12:30   ` [PATCH 2/3] decompressors: drop dependency on CONFIG_EXPERT Florian Fainelli
2013-01-25 12:30   ` [PATCH 3/3] decompressors: make the default XZ_DEC_* config match the selected architecture Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358266931-23401-2-git-send-email-florian@openwrt.org \
    --to=florian@openwrt.org \
    --cc=lasse.collin@tukaani.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome