Use of the $ARCH variable is undocumented; the sparc and sparc64 ports
define the bool constants CONFIG_SPARC32 and CONFIG_SPARC64 respectively
for this purpose.
diff -ruN linux-2.5.21+trivial/drivers/sbus/char/Config.in
linux-2.5.21/drivers/sbus/char/Config.in
--- linux-2.5.21+trivial/drivers/sbus/char/Config.in Wed Jun 12 17:34:51 2002
+++ linux-2.5.21/drivers/sbus/char/Config.in Wed Jun 12 17:39:52 2002
@@ -14,7 +14,7 @@
tristate 'Videopix Frame Grabber (EXPERIMENTAL)' CONFIG_SUN_VIDEOPIX
tristate 'Aurora Multiboard 1600se (EXPERIMENTAL)' CONFIG_SUN_AURORA
- if [ "$ARCH" = "sparc" ]; then
+ if [ "$CONFIG_SPARC32" = "y" ]; then
tristate 'Tadpole TS102 Microcontroller support (EXPERIMENTAL)'
CONFIG_TADPOLE_TS102_UCTRL
tristate 'JavaStation OS Flash SIMM (EXPERIMENTAL)' CONFIG_SUN_JSFLASH
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.
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel