[2.5 patch] let MTD_UCLINUX depend on !MMU
Jörn Engel
joern at wohnheim.fh-wedel.de
Tue May 13 05:16:32 EDT 2003
Pruned the CC: list a bit.
On Sun, 11 May 2003 12:06:50 +0200, Adrian Bunk wrote:
>
> Trying to compile a kernel with MTD_UCLINUX enabled for a computer with
> a MMU fails at the final linking because the variable _ebss seems to be
> not defined on such machines (it's only defined on m68knommu, h8300 and
> v850).
>
> The following patch (still applies with a few lines offset against
> 2.5.69-bk4) tries to correct this issue by letting MTD_UCLINUX depend on
> !MMU.
>
>
> --- linux-2.5.65-full/drivers/mtd/maps/Kconfig.old 2003-03-20 16:56:25.000000000 +0100
> +++ linux-2.5.65-full/drivers/mtd/maps/Kconfig 2003-03-20 16:56:45.000000000 +0100
> @@ -348,7 +348,7 @@
>
> config MTD_UCLINUX
> tristate "Generic uClinux RAM/ROM filesystem support"
> - depends on MTD_PARTITIONS
> + depends on MTD_PARTITIONS && !MMU
> help
> Map driver to support image based filesystems for uClinux.
Usually, I committed such random fixes to CVS, but my time is getting
more constrained.
David, what would create the least work for you. To have such small
patches both in 2.5 and mtd cvs? Just curious, so I don't waste my
time on something that doesn't really help you.
Jörn
--
Anything that can go wrong, will.
-- Finagle's Law
More information about the linux-mtd
mailing list