Whamcloud - gitweb
b=16437
authorbrian <brian>
Wed, 23 Jul 2008 16:54:05 +0000 (16:54 +0000)
committerbrian <brian>
Wed, 23 Jul 2008 16:54:05 +0000 (16:54 +0000)
i=yibin.wang
i=sheng.yang

Don't require that the kenrel config file exist for patchless client
builds.
Build ppc64 targets for both SLES10 and RHEL5.

build/lbuild

index 354a022..020501b 100755 (executable)
@@ -477,8 +477,10 @@ load_target()
 
     local lnxrelnew=${lnxrel//-/_}
 
-    [ -f "$CONFIG_FILE" ] || \
+    if ! $PATCHLESS && [ ! -f "$CONFIG_FILE" ]; then
         fatal 1 "Config file for target $TARGET missing from $TOPDIR/lustre/lustre/kernel_patches/kernel_configs/."
+    fi
+
     if [ "$EXTRA_VERSION_save" ] ; then
         EXTRA_VERSION="$EXTRA_VERSION_save"
     elif ! $RELEASE; then