G'day,

Three arch-determining symbols in drivers/mtd/maps/Config.in are wrong.
They have apparently been generated using the sensible pattern "CONFIG_FOO"
for an architecture "foo"; unfortunately the architectures are not sensible.

CONFIG_SPARC should be CONFIG_SPARC32
CONFIG_I386 should be CONFIG_X86
CONFIG_SH should be CONFIG_SUPERH

diff -ruN linux-2.5.20-orig/drivers/mtd/maps/Config.in 
linux-2.5.20/drivers/mtd/maps/Config.in
--- linux-2.5.20-orig/drivers/mtd/maps/Config.in        Mon Apr 15 05:18:53 2002
+++ linux-2.5.20/drivers/mtd/maps/Config.in     Tue Jun 11 22:37:51 2002
@@ -13,7 +13,7 @@
    int '    Bus width in octets' CONFIG_MTD_PHYSMAP_BUSWIDTH 2
 fi
 
-if [ "$CONFIG_SPARC" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
+if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
    dep_tristate '  Sun Microsystems userflash support' CONFIG_MTD_SUN_UFLASH 
$CONFIG_MTD_CFI
 fi
 
@@ -26,7 +26,7 @@
    dep_tristate '  JEDEC Flash device mapped on Mixcom piggyback card' 
CONFIG_MTD_MIXMEM $CONFIG_MTD_JEDEC
    dep_tristate '  JEDEC Flash device mapped on Octagon 5066 SBC' CONFIG_MTD_OCTAGON 
$CONFIG_MTD_JEDEC
    dep_tristate '  JEDEC Flash device mapped on Tempustech VMAX SBC301' 
CONFIG_MTD_VMAX $CONFIG_MTD_JEDEC
-   dep_tristate '  BIOS flash chip on Intel L440GX boards' CONFIG_MTD_L440GX 
$CONFIG_I386 $CONFIG_MTD_JEDEC
+   dep_tristate '  BIOS flash chip on Intel L440GX boards' CONFIG_MTD_L440GX 
+$CONFIG_X86 $CONFIG_MTD_JEDEC
 fi
 
 if [ "$CONFIG_PPC" = "y" ]; then
@@ -46,7 +46,7 @@
    dep_tristate '  Momenco Ocelot boot flash device' CONFIG_MTD_OCELOT 
$CONFIG_MOMENCO_OCELOT
 fi
 
-if [ "$CONFIG_SH" = "y" ]; then
+if [ "$CONFIG_SUPERH" = "y" ]; then
    dep_tristate '  CFI Flash device mapped on Hitachi SolutionEngine' 
CONFIG_MTD_SOLUTIONENGINE $CONFIG_MTD_CFI $CONFIG_SH $CONFIG_MTD_REDBOOT_PARTS
 fi
 
Greg.
-- 
the price of civilisation today is a courageous willingness to prevail,
with force, if necessary, against whatever vicious and uncomprehending
enemies try to strike it down.     - Roger Sandall, The Age, 28Sep2001.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to