]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PATCH 2.5: kconfig use of $ARCH (3_12)
authorGreg Banks <gnb@alphalink.com.au>
Mon, 15 Jul 2002 06:05:43 +0000 (23:05 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 15 Jul 2002 06:05:43 +0000 (23:05 -0700)
 Use of the $ARCH variable is undocumented; the alpha and i386 ports
 define the bool constants CONFIG_ALPHA and CONFIG_X86 for this purpose.

drivers/video/Config.in

index 27f14174d72ef42f6fb04ed134b59650d2b2098a..845e254807a934fe5cf94e94ef96f9f9e51664e2 100644 (file)
@@ -91,10 +91,10 @@ if [ "$CONFIG_FB" = "y" ]; then
    if [ "$CONFIG_HP300" = "y" ]; then
       define_bool CONFIG_FB_HP300 y
    fi
-   if [ "$ARCH" = "alpha" ]; then
+   if [ "$CONFIG_ALPHA" = "y" ]; then
       tristate '  TGA framebuffer support' CONFIG_FB_TGA
    fi
-   if [ "$ARCH" = "i386" ]; then
+   if [ "$CONFIG_X86" = "y" ]; then
       bool '  VESA VGA graphics console' CONFIG_FB_VESA
       tristate '  VGA 16-color graphics console' CONFIG_FB_VGA16
       tristate '  Hercules mono graphics console (EXPERIMENTAL)' CONFIG_FB_HGA