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 |
|
---|
11 | cd ${SRC}
|
---|
12 | LOG="bin86-host.log"
|
---|
13 |
|
---|
14 | unpack_tarball bin86-${BIN86_VER} &&
|
---|
15 | cd ${SRC}/${PKGDIR}
|
---|
16 |
|
---|
17 | # only build 32bit
|
---|
18 | case ${BUILD} in
|
---|
19 | x86_64* ) ARCH_CFLAGS="-m32" ;;
|
---|
20 | esac
|
---|
21 |
|
---|
22 | max_log_init Bin86 ${BIN86_VER} host ${BUILDLOGS} ${LOG}
|
---|
23 | make CC="gcc ${ARCH_CFLAGS}" \
|
---|
24 | >> ${LOGFILE} 2>&1 &&
|
---|
25 | make CC="gcc ${ARCH_CFLAGS}" -C ld \
|
---|
26 | >> ${LOGFILE} 2>&1 &&
|
---|
27 | echo " o Build OK" &&
|
---|
28 |
|
---|
29 | min_log_init ${INSTLOGS} &&
|
---|
30 | make CC="gcc ${ARCH_CFLAGS}" PREFIX=${HST_TOOLS} install \
|
---|
31 | >> ${LOGFILE} 2>&1 &&
|
---|
32 | echo " o ALL OK" || barf
|
---|
Note:
See
TracBrowser
for help on using the repository browser.