- Timestamp:
- 03/27/2006 11:40:44 PM (19 years ago)
- Branches:
- experimental
- Children:
- e794f06
- Parents:
- 31ad03a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r31ad03a r0297f33 34 34 35 35 36 37 36 usage() { 37 'clear' 38 cat <<- -EOF- 39 ${DD_BORDER} 40 ${BOLD} 41 Usage: $0 ${BOLD}[OPTION] 42 43 Options: 44 ${BOLD} -h, --help${OFF} 45 print this help, then exit 46 ${BOLD} -V, --version${OFF} 47 print version information, then exit 48 ${BOLD} -D --directory DIR${OFF} 49 use DIR directory for building ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF}; all files jhalfs produces will be 50 in the directory DIR/jhalfs. 51 ${BOLD} -R --rebuild${OFF} 52 clean the build directory before to perfom any other task. The directory 53 is cleaned only if it was populated by a previous jhalfs run. 54 ${BOLD} -G, --get-packages${OFF} 55 download the packages and patches. This assumes that the server declared in the 56 conf file has the proper packages and patches for the book version being processed. 57 ${BOLD} -T, --testsuites N ${OFF} 58 Run test suites [0-3] 59 0 = none 60 1 = only chapter06 Glibc, GCC and Binutils testsuites 61 2 = all chapter06 testsuites 62 3 = all chapter05 and chapter06 testsuites 63 ${BOLD} -W, --working-copy DIR${OFF} 64 use the local working copy placed in DIR as the $(echo $PROGNAME | tr [a-z] [A-Z]) book 65 ${BOLD} -B, --book VER${OFF} 66 checkout VER version of the LFS book. Supported versions at this time are: 67 dev* | trunk | SVN aliases for Development {C,H,B}LFS 68 alpha* aliases for the LFS alphabetical branch 69 udev* aliases for the LFS udev_update branch 70 ${BOLD} -F, --fstab FILE${OFF} 71 use FILE as the /etc/fstab file for the ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF} system. If not specified, 72 a default /etc/fstab file with dummy values is created. 73 ${BOLD} -K, --kernel-config FILE${OFF} 74 use the kernel configuration file specified in FILE to build the kernel. 75 if the file is not found, or if not specified, the kernel build is skipped. 76 ${BOLD} -M, --run-make${OFF} 77 run make on the generated Makefile 78 -EOF- 79 80 [[ ${PROGNAME} = "clfs" ]] && 81 cat <<- -EOF- 82 ${BOLD} -A, --arch ARCH ${OFF} 83 Select the TARGET architecture, valid selections are: 84 32bit builds 85 x86, i486, i586, ppc, mips, mipsel, sparc, sparcv8 86 64bit builds 87 x86_64-64, mips64-64, mipsel64-64, sparc64-64, alpha 88 64bit multi-lib 89 x86_64, mips64, mipsel64, sparc64, ppc64 90 ${BOLD} --method BUILDMETHOD ${OFF} 91 Select the build method, chroot or boot 92 ${BOLD} --boot_config FILE ${OFF} 93 The configuration file for the bootstrap kernel if method=boot 94 -EOF- 95 96 [[ ${PROGNAME} = "hlfs" ]] && 97 cat <<- -EOF- 98 ${BOLD} --model STYLE ${OFF} 99 Select the library model for the HLFS system 100 Valid choices are: glibc or uclibc 101 -EOF- 102 cat <<- -EOF- 103 ${DD_BORDER} 104 -EOF- 105 exit 106 } 107 108 usage2() { 38 109 'clear' 39 110 cat <<- -EOF-
Note:
See TracChangeset
for help on using the changeset viewer.