]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] PATCH 2.5: kconfig use of $ARCH (5_12)
authorGreg Banks <gnb@alphalink.com.au>
Mon, 15 Jul 2002 05:58:55 +0000 (22:58 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 15 Jul 2002 05:58:55 +0000 (22:58 -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/isdn/hisax/Config.in

index 13513ff46649ee0ea7c956aaf35978739c115955..6a303d4228ae10e42481ccd2c2f71859dfb3dc88 100644 (file)
@@ -44,7 +44,7 @@ if [ "$CONFIG_ISDN_DRV_HISAX" != "n" ]; then
    if [ "$CONFIG_EXPERIMENTAL" != "n" ]; then
 #      bool '  TESTEMULATOR (EXPERIMENTAL)' CONFIG_HISAX_TESTEMU
       bool '  Formula-n enter:now PCI card' CONFIG_HISAX_ENTERNOW_PCI
-      if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
+      if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
         bool '  Am7930' CONFIG_HISAX_AMD7930
       fi
    fi