]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] PATCH 2.5: kconfig use of $ARCH (8_12)
authorGreg Banks <gnb@alphalink.com.au>
Mon, 15 Jul 2002 06:08:39 +0000 (23:08 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 15 Jul 2002 06:08:39 +0000 (23:08 -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 845e254807a934fe5cf94e94ef96f9f9e51664e2..618e7e28ca9f348ab3727d6c9d8750605f61b249 100644 (file)
@@ -158,16 +158,16 @@ if [ "$CONFIG_FB" = "y" ]; then
         tristate '  Permedia3 support (EXPERIMENTAL)' CONFIG_FB_PM3
       fi
    fi
-   if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
+   if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
       bool '  SBUS and UPA framebuffers' CONFIG_FB_SBUS
       if [ "$CONFIG_FB_SBUS" != "n" ]; then
-        if [ "$ARCH" = "sparc64" ]; then
+        if [ "$CONFIG_SPARC64" = "y" ]; then
            bool '    Creator/Creator3D support' CONFIG_FB_CREATOR
         fi
         bool '    CGsix (GX,TurboGX) support' CONFIG_FB_CGSIX
         bool '    BWtwo support' CONFIG_FB_BWTWO
         bool '    CGthree support' CONFIG_FB_CGTHREE
-        if [ "$ARCH" = "sparc" ]; then
+        if [ "$CONFIG_SPARC32" = "y" ]; then
            bool '    TCX (SS4/SS5 only) support' CONFIG_FB_TCX
            bool '    CGfourteen (SX) support' CONFIG_FB_CGFOURTEEN
            bool '    P9100 (Sparcbook 3 only) support' CONFIG_FB_P9100