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