The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@debian.org>
To: Roman Zippel <zippel@linux-m68k.org>
Cc: Matthew Wilcox <willy@debian.org>,
	David Woodhouse <dwmw2@infradead.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] BINFMT_ZFLAT can't be a module
Date: Thu, 26 Jun 2003 19:56:59 +0100	[thread overview]
Message-ID: <20030626185659.GR451@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0306262036030.11817-100000@serv>

On Thu, Jun 26, 2003 at 08:40:05PM +0200, Roman Zippel wrote:
> > -	default y if CRAMFS=y || PPP_DEFLATE=y || JFFS2_FS=y || ZISOFS_FS=y || BINFMT_ZFLAT=y || CRYPTO_DEFLATE=y
> > -	default m if CRAMFS=m || PPP_DEFLATE=m || JFFS2_FS=m || ZISOFS_FS=m || BINFMT_ZFLAT=m || CRYPTO_DEFLATE=m
> > +	default y if CRAMFS=y || PPP_DEFLATE=y || JFFS2_FS=y || ZISOFS_FS=y || CRYPTO_DEFLATE=y || (BINFMT_FLAT=y && BINFMT_ZFLAT=y)
> > +	default m if CRAMFS=m || PPP_DEFLATE=m || JFFS2_FS=m || ZISOFS_FS=m || CRYPTO_DEFLATE=m || (BINFMT_FLAT=m && BINFMT_ZFLAT=y)
> 
> This can be simplified now to:
> 
> config ZLIB_INFLATE
> 	def_tristate CRAMFS || PPP_DEFLATE || JFFS2_FS || \
> 		     ZISOFS_FS || CRYPTO_DEFLATE || \
> 		     (BINFMT_FLAT && BINFMT_ZFLAT)

Could you document this in Documentation/kbuild/kconfig-language.txt
please?  The thing is, I'm not sure it'll work, and it's hard to convince
myself without docs.

Here's what I want:

CRAMFS	FLAT	ZFLAT	outcome
Y	Y	Y	Y
Y	Y	N	Y
Y	M	Y	Y
Y	M	N	Y
Y	N	-	Y

M	Y	Y	Y
M	Y	N	M (*)
M	M	Y	M
M	M	N	M
M	N	-	M

N	Y	Y	Y
N	Y	N	N
N	M	Y	M
N	M	N	N
N	N	-	N

Does dep_tristate give me that?  Particularly the one with a (*) by it.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

  reply	other threads:[~2003-06-26 18:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-26 18:09 [PATCH] BINFMT_ZFLAT can't be a module Matthew Wilcox
2003-06-26 18:40 ` Roman Zippel
2003-06-26 18:56   ` Matthew Wilcox [this message]
2003-06-26 19:10     ` Roman Zippel
2003-06-27 10:51       ` Juan Quintela

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=20030626185659.GR451@parcelfarce.linux.theplanet.co.uk \
    --to=willy@debian.org \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.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