From: Florian Fainelli <florian@openwrt.org>
To: linux-kernel@vger.kernel.org
Cc: lasse.collin@tukaani.org, akpm@linux-foundation.org,
Florian Fainelli <florian@openwrt.org>
Subject: [PATCH 3/3] decompressors: make the default XZ_DEC_* config match the selected architecture
Date: Fri, 25 Jan 2013 13:30:36 +0100 [thread overview]
Message-ID: <1359117036-25064-3-git-send-email-florian@openwrt.org> (raw)
In-Reply-To: <1359117036-25064-1-git-send-email-florian@openwrt.org>
This patch changes the defautl XZ_DEC_* 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.
Acked-by: Lasse Collin <lasse.collin@tukaani.org>
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 8d46470..82a04d7 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"
- default y
+ default y if X86
select XZ_DEC_BCJ
config XZ_DEC_POWERPC
bool "PowerPC BCJ filter decoder"
- default y
+ default y if POWERPC
select XZ_DEC_BCJ
config XZ_DEC_IA64
bool "IA-64 BCJ filter decoder"
- default y
+ default y if IA64
select XZ_DEC_BCJ
config XZ_DEC_ARM
bool "ARM BCJ filter decoder"
- default y
+ default y if ARM
select XZ_DEC_BCJ
config XZ_DEC_ARMTHUMB
bool "ARM-Thumb BCJ filter decoder"
- default y
+ default y if (ARM && ARM_THUMB)
select XZ_DEC_BCJ
config XZ_DEC_SPARC
bool "SPARC BCJ filter decoder"
- default y
+ default y if SPARC
select XZ_DEC_BCJ
endif
--
1.7.10.4
prev parent reply other threads:[~2013-01-25 12:33 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 ` [PATCH 2/2] decompressors: make the default XZ_BCJ_* config match the selected architecture Florian Fainelli
2013-01-15 18:11 ` 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 ` Florian Fainelli [this message]
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=1359117036-25064-3-git-send-email-florian@openwrt.org \
--to=florian@openwrt.org \
--cc=akpm@linux-foundation.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
all inboxes | Powered by JetHome®