G'day,

The config language is *not* shell.  The construct "[ foo ] || [ bar ]"
is legal in shell but not in the config language, where we should use
the equivalent "[ foo -o bar ]"

diff -ruN linux-2.5.20-orig/arch/ia64/config.in linux-2.5.20/arch/ia64/config.in
--- linux-2.5.20-orig/arch/ia64/config.in       Mon Jun  3 18:56:34 2002
+++ linux-2.5.20/arch/ia64/config.in    Mon Jun 10 17:52:38 2002
@@ -64,12 +64,12 @@
        fi
 fi
 
-if [ "$CONFIG_IA64_GENERIC" = "y" ] || [ "$CONFIG_IA64_DIG" = "y" ] || [ 
"$CONFIG_IA64_HP_ZX1" = "y" ]; then
+if [ "$CONFIG_IA64_GENERIC" = "y" -o  "$CONFIG_IA64_DIG" = "y" -o 
+"$CONFIG_IA64_HP_ZX1" = "y" ]; then
        bool '  Enable IA-64 Machine Check Abort' CONFIG_IA64_MCA
        define_bool CONFIG_PM y
 fi
 
-if [ "$CONFIG_IA64_SGI_SN1" = "y" ] || [ "$CONFIG_IA64_SGI_SN2" = "y" ]; then
+if [ "$CONFIG_IA64_SGI_SN1" = "y" -o  "$CONFIG_IA64_SGI_SN2" = "y" ]; then
        define_bool CONFIG_IA64_SGI_SN y
        bool '  Enable extra debugging code' CONFIG_IA64_SGI_SN_DEBUG n
        bool '  Enable SGI Medusa Simulator Support' CONFIG_IA64_SGI_SN_SIM


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.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to