From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 2/6] uncompress: add config to disable it
Date: Wed, 11 Jan 2012 14:31:52 +0100 [thread overview]
Message-ID: <1326288716-1342-2-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <20120111132914.GB958@game.jcrosoft.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
commands/Kconfig | 1 +
lib/Kconfig | 5 +++++
lib/Makefile | 2 +-
lib/lzo/Kconfig | 2 +-
4 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/commands/Kconfig b/commands/Kconfig
index 1d080e3..b003786 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -310,6 +310,7 @@ config CMD_BOOTM
tristate
default y
select CRC32
+ select UNCOMPRESS
prompt "bootm"
config CMD_BOOTM_SHOW_TYPE
diff --git a/lib/Kconfig b/lib/Kconfig
index 3339a9a..0bbd206 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1,9 +1,14 @@
menu "Library routines"
+config UNCOMPRESS
+ bool
+
config ZLIB
bool "include gzip uncompression support"
+ select UNCOMPRESS
config BZLIB
bool "include bzip2 uncompression support"
+ select UNCOMPRESS
config GENERIC_FIND_NEXT_BIT
def_bool n
diff --git a/lib/Makefile b/lib/Makefile
index 7799e69..c273c58 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -30,6 +30,6 @@ obj-y += show_progress.o
obj-$(CONFIG_LZO_DECOMPRESS) += decompress_unlzo.o
obj-$(CONFIG_PROCESS_ESCAPE_SEQUENCE) += process_escape_sequence.o
obj-$(CONFIG_FDT) += fdt/
-obj-y += uncompress.o
+obj-$(CONFIG_UNCOMPRESS) += uncompress.o
obj-$(CONFIG_BCH) += bch.o
obj-$(CONFIG_BITREV) += bitrev.o
diff --git a/lib/lzo/Kconfig b/lib/lzo/Kconfig
index 03c3350..9276b21 100644
--- a/lib/lzo/Kconfig
+++ b/lib/lzo/Kconfig
@@ -1,6 +1,6 @@
config LZO_DECOMPRESS
bool "include lzo uncompression support"
- bool
+ select UNCOMPRESS
config LZO_COMPRESS
bool
--
1.7.7
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-01-11 13:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 13:29 [PATCH 0/6] code size reduction for xloader Jean-Christophe PLAGNIOL-VILLARD
2012-01-11 13:31 ` [PATCH 1/6] banner: add config to disable it Jean-Christophe PLAGNIOL-VILLARD
2012-01-11 13:31 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-01-11 13:31 ` [PATCH 3/6] filetype: " Jean-Christophe PLAGNIOL-VILLARD
2012-01-11 13:31 ` [PATCH 4/6] kconfig: sync to linux 3.2-rc4 Jean-Christophe PLAGNIOL-VILLARD
2012-01-11 13:31 ` [PATCH 5/6] param: add config to disable it Jean-Christophe PLAGNIOL-VILLARD
2012-01-11 13:31 ` [PATCH 6/6] driver: switch driver_d name to const char* Jean-Christophe PLAGNIOL-VILLARD
2012-01-12 8:50 ` [PATCH 0/6] code size reduction for xloader Sascha Hauer
2012-01-12 9:51 ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-12 15:14 ` Premi, Sanjeev
2012-01-12 15:21 ` Jean-Christophe PLAGNIOL-VILLARD
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=1326288716-1342-2-git-send-email-plagnioj@jcrosoft.com \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.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