]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] PATCH 2.5: kconfig use of $ARCH (9_12)
authorGreg Banks <gnb@alphalink.com.au>
Mon, 15 Jul 2002 05:50:36 +0000 (22:50 -0700)
committerJames Morris <jmorris@intercode.com.au>
Mon, 15 Jul 2002 05:50:36 +0000 (22:50 -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 a7668354b756d93d8d918ba7cc3af0ebef4c02b9..dbdc69a118e591d18e391666fd70ec19f4b56a28 100644 (file)
@@ -175,7 +175,7 @@ if [ "$CONFIG_FB" = "y" ]; then
         bool '    Leo (ZX) support' CONFIG_FB_LEO
       fi
    fi
-   if [ "$ARCH" = "sparc" ]; then
+   if [ "$CONFIG_SPARC32" = "y" ]; then
       if [ "$CONFIG_PCI" != "n" ]; then
         bool '  PCI framebuffers' CONFIG_FB_PCI
         if [ "$CONFIG_FB_PCI" != "n" ]; then