]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] PATCH 2.5: kconfig use of $ARCH (1_12)
authorGreg Banks <gnb@alphalink.com.au>
Mon, 15 Jul 2002 05:51:02 +0000 (22:51 -0700)
committerJames Morris <jmorris@intercode.com.au>
Mon, 15 Jul 2002 05:51:02 +0000 (22:51 -0700)
 Use of the $ARCH variable is undocumented; the alpha port defines the
 bool constant CONFIG_ALPHA for this purpose.

drivers/char/ftape/Config.in

index 179f5ba0741add316c301666e81ea3c48c6b303e..7c275b5e9133fcdb4e1988dfc684fac65cc43f74 100644 (file)
@@ -35,7 +35,7 @@ if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
    int '  Maximal data rate to use (EXPERIMENTAL)' CONFIG_FT_FDC_MAX_RATE 2000
 fi
 
-if [ "$ARCH" = "alpha" ]; then
+if [ "$CONFIG_ALPHA" = "y" ]; then
    int '  CPU clock frequency of your DEC Alpha' CONFIG_FT_ALPHA_CLOCK 0
 else
    define_int CONFIG_FT_ALPHA_CLOCK 0