source: scripts/target-scripts/host-bin86.sh @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100755
File size: 663 bytes
Line 
1#!/bin/bash
2
3# cross-lfs build-host bin86 build
4# --------------------------------
5# $LastChangedBy$
6# $LastChangedDate$
7# $LastChangedRevision$
8# $HeadURL$
9#
10
11cd ${SRC}
12LOG="bin86-host.log"
13
14unpack_tarball bin86-${BIN86_VER} &&
15cd ${SRC}/${PKGDIR}
16
17# only build 32bit
18case ${BUILD} in
19   x86_64* ) ARCH_CFLAGS="-m32" ;;
20esac
21
22max_log_init Bin86 ${BIN86_VER} host ${BUILDLOGS} ${LOG}
23make CC="gcc ${ARCH_CFLAGS}" \
24   >> ${LOGFILE} 2>&1 &&
25make CC="gcc ${ARCH_CFLAGS}" -C ld \
26   >> ${LOGFILE} 2>&1 &&
27echo " o Build OK" &&
28
29min_log_init ${INSTLOGS} &&
30make  CC="gcc ${ARCH_CFLAGS}" PREFIX=${HST_TOOLS} install \
31   >> ${LOGFILE} 2>&1 &&
32echo " o ALL OK" || barf
Note: See TracBrowser for help on using the repository browser.