Use of the $ARCH variable is undocumented; the alpha and i386 ports
define the bool constants CONFIG_ALPHA and CONFIG_X86 for this purpose.

diff -ruN linux-2.5.21+trivial/drivers/video/Config.in 
linux-2.5.21/drivers/video/Config.in
--- linux-2.5.21+trivial/drivers/video/Config.in        Wed Jun 12 17:34:51 2002
+++ linux-2.5.21/drivers/video/Config.in        Wed Jun 12 17:41:51 2002
@@ -91,10 +91,10 @@
    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

Greg.
-- 
the price of civilisation today is a courageous willingness to prevail,
with force, if necessary, against whatever vicious and uncomprehending
enemies try to strike it down.     - Roger Sandall, The Age, 28Sep2001.


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to