public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [2.5 patch] let MTD_UCLINUX depend on !MMU
@ 2003-05-11 10:06 Adrian Bunk
  2003-05-13  9:16 ` Jörn Engel
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2003-05-11 10:06 UTC (permalink / raw)
  To: linux-mtd; +Cc: linux-kernel, trivial

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.
 


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

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

* Re: [2.5 patch] let MTD_UCLINUX depend on !MMU
  2003-05-11 10:06 [2.5 patch] let MTD_UCLINUX depend on !MMU Adrian Bunk
@ 2003-05-13  9:16 ` Jörn Engel
  0 siblings, 0 replies; 2+ messages in thread
From: Jörn Engel @ 2003-05-13  9:16 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Adrian Bunk, linux-mtd

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

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

end of thread, other threads:[~2003-05-13  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-11 10:06 [2.5 patch] let MTD_UCLINUX depend on !MMU Adrian Bunk
2003-05-13  9:16 ` Jörn Engel

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