public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Bug or feature?
@ 2001-08-27 22:10 Ricky Beam
  2001-08-27 22:17 ` Alan Cox
  2001-08-27 23:14 ` Keith Owens
  0 siblings, 2 replies; 3+ messages in thread
From: Ricky Beam @ 2001-08-27 22:10 UTC (permalink / raw)
  To: Linux Kernel Mail List

In my dangerous mode of "if it's presented to me, compile it", I've noticed
alot of junk being presented as a buildable option under the wrong arch.

For example, the Sparc64 and ARM MTD Map drivers are selectable from an
x86 build.  Some might say this is a shell bug, but at any rate, dep_*
don't function correctly (read: as one would expect) in the cases where
the deps are not defined.

For:
  dep_tristate '  Sun Microsystems userflash support' CONFIG_MTD_SUN_UFLASH $CONFIG_SPARC64
$CONFIG_SPARC64 is null and this doesn't appear to the shell function as an
arg.  Thus, it's presented as a selectable (tho' not compilable) option.

The same is visable for CONFIG_MTD_SA1100 and CONFIG_MTD_DC21285 (ARM).

Options:
 1) Don't select things that aren't in your machine/arch.
    (Translation: "Live with it.")
 2) Quote all the options.
    (ewww.)
 3) Fix the function(s).

--Ricky



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-27 23:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-27 22:10 Bug or feature? Ricky Beam
2001-08-27 22:17 ` Alan Cox
2001-08-27 23:14 ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox