From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>,
Phillip Lougher <phillip@lougher•demon.co.uk>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
Michal Marek <mmarek@suse•cz>, akpm <akpm@linux-foundation•org>
Subject: [PATCH -next] libs: force lzma_wrapper to be retained
Date: Fri, 1 Jan 2010 18:33:44 -0800 [thread overview]
Message-ID: <20100101183344.398f2538.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20100101120737.94d4acc4.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle•com>
When CONFIG_SQUASHFS=m and CONFIG_DECOMPRESS_LZMA=m, decompress_lzma
is built but then discarded from the library because no built-in code
uses it, so change it from a lib- to an obj- to force it to be kept
in the library.
ERROR: "unlzma" [fs/squashfs/squashfs.ko] undefined!
Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
Cc: Phillip Lougher <phillip@lougher•demon.co.uk>
Cc: Michal Marek <mmarek@suse•cz>
---
lib/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20100101.orig/lib/Makefile
+++ linux-next-20100101/lib/Makefile
@@ -69,7 +69,7 @@ obj-$(CONFIG_LZO_DECOMPRESS) += lzo/
lib-$(CONFIG_DECOMPRESS_GZIP) += decompress_inflate.o
lib-$(CONFIG_DECOMPRESS_BZIP2) += decompress_bunzip2.o
-lib-$(CONFIG_DECOMPRESS_LZMA) += decompress_unlzma.o
+obj-$(CONFIG_DECOMPRESS_LZMA) += decompress_unlzma.o
obj-$(CONFIG_TEXTSEARCH) += textsearch.o
obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o
next prev parent reply other threads:[~2010-01-02 2:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-01 1:07 linux-next: Tree for January 1 Stephen Rothwell
2010-01-02 2:33 ` Randy Dunlap [this message]
2010-01-03 0:55 ` [PATCH -next] libs: force lzma_wrapper to be retained Phillip Lougher
2010-01-04 4:42 ` Randy Dunlap
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=20100101183344.398f2538.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=mmarek@suse$(echo .)cz \
--cc=phillip@lougher$(echo .)demon.co.uk \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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