From: mjmac Date: Fri, 7 Sep 2007 10:42:06 +0000 (+0000) Subject: * Reverting WIP that wasn't supposed to be included in previous commit X-Git-Tag: v1_7_0_51~778 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=8d2265a177fda840c17c2f10c7641c0a77c80809 * Reverting WIP that wasn't supposed to be included in previous commit --- diff --git a/build/lbuild b/build/lbuild index 41ffe3f..7e9c630 100755 --- a/build/lbuild +++ b/build/lbuild @@ -83,9 +83,12 @@ is_release() list_targets() { - for target in $TOPDIR/lustre/kernel_patches/targets/*.target.in ; do - echo -n "$(basename $target .target.in) " + echo -n "Available targets:" + for target in $TOPDIR/lustre/lustre/kernel_patches/targets/*.target ; do + target_file=${target##*/} + echo -n " ${target_file%%.target}" done + echo } usage() @@ -144,9 +147,9 @@ Usage: ${0##*/} [OPTION]... [-- ] A CVS branch/tag name to build from when pulling from CVS. --target=TARGET - The name of the target to build. - One of: $(list_targets) - + The name of the target to build. The available targets are listed + below. + --target-archs=TARGET_ARCHS A (space delimited) list of architectures to build. By default, all of the archs supported by the TARGET will be built, in @@ -164,6 +167,8 @@ Usage: ${0##*/} [OPTION]... [-- ] EOF +# list_targets + fatal "$1" "$2" }