]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PATCH 2.5: kconfig use of $ARCH (7_12)
authorGreg Banks <gnb@alphalink.com.au>
Mon, 15 Jul 2002 06:09:39 +0000 (23:09 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 15 Jul 2002 06:09:39 +0000 (23:09 -0700)
 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.

drivers/sbus/char/Config.in

index 56abc9b56287041d3f2e68376e35dd43efb61da3..e40ebfb6e23b2a419b62262c110e41b9005d1c8e 100644 (file)
@@ -14,7 +14,7 @@ if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
    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