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

index 5fde81c8e7e84f89e432b5014c487c0d606d078d..27f14174d72ef42f6fb04ed134b59650d2b2098a 100644 (file)
@@ -427,7 +427,7 @@ if [ "$CONFIG_FB" = "y" ]; then
       fi
    fi
    bool '  Support only 8 pixels wide fonts' CONFIG_FBCON_FONTWIDTH8_ONLY
-   if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
+   if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
       bool '  Sparc console 8x16 font' CONFIG_FONT_SUN8x16
       if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
         bool '  Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22