source: scripts_home/scripts/target-scripts/host-bin86.sh@ 1c9c5c3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c9c5c3 was 1c9c5c3, checked in by Jim Gifford <clfs@…>, 19 years ago

r624@server (orig r622): jim | 2005-10-31 12:40:28 -0800
Rearranging Archive

  • 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.