clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 7ed0e05 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago |
r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure
|
-
Property mode
set to
100755
|
File size:
927 bytes
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | # cross-lfs build-host nasm build
|
---|
| 4 | # -------------------------------
|
---|
| 5 | # $LastChangedBy$
|
---|
| 6 | # $LastChangedDate$
|
---|
| 7 | # $LastChangedRevision$
|
---|
| 8 | # $HeadURL$
|
---|
| 9 | #
|
---|
| 10 |
|
---|
| 11 | cd ${SRC}
|
---|
| 12 | LOG="nasm-host.log"
|
---|
| 13 |
|
---|
| 14 | unpack_tarball nasm-${NASM_VER} &&
|
---|
| 15 | cd ${SRC}/${PKGDIR}
|
---|
| 16 |
|
---|
| 17 | # build nasm, bin86 and lilo 32 bit
|
---|
| 18 | #case ${TGT_ARCH} in
|
---|
| 19 | # x86_64 ) ARCH_CFLAGS="-m32" ;;
|
---|
| 20 | #esac
|
---|
| 21 |
|
---|
| 22 | mkdir -p ${HST_TOOLS}/share/man/man1
|
---|
| 23 |
|
---|
| 24 | max_log_init nasm ${NASM_VER} host ${CONFLOGS} ${LOG}
|
---|
| 25 | CFLAGS="-O2 -pipe" \
|
---|
| 26 | ./configure --prefix=${HST_TOOLS} \
|
---|
| 27 | --libexecdir=${HST_TOOLS}/lib/nasm \
|
---|
| 28 | --mandir=${HST_TOOLS}/share/man \
|
---|
| 29 | >> ${LOGFILE} 2>&1 &&
|
---|
| 30 | echo " o Configure OK" &&
|
---|
| 31 |
|
---|
| 32 | min_log_init ${BUILDLOGS} &&
|
---|
| 33 | # should use "make everything" to generate docs, but we won't
|
---|
| 34 | # have ps2pdf yet
|
---|
| 35 | make LDFLAGS="-s" \
|
---|
| 36 | >> ${LOGFILE} 2>&1 &&
|
---|
| 37 | echo " o Build OK" &&
|
---|
| 38 |
|
---|
| 39 | min_log_init ${INSTLOGS} &&
|
---|
| 40 | make install \
|
---|
| 41 | >> ${LOGFILE} &&
|
---|
| 42 | make install_rdf \
|
---|
| 43 | >> ${LOGFILE} &&
|
---|
| 44 | echo " o ALL OK" || barf
|
---|
| 45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.