clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 834dec0 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:
813 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # cross-lfs target bin86 build
|
---|
4 | # ----------------------------
|
---|
5 | # $LastChangedBy$
|
---|
6 | # $LastChangedDate$
|
---|
7 | # $LastChangedRevision$
|
---|
8 | # $HeadURL$
|
---|
9 | #
|
---|
10 |
|
---|
11 | cd ${SRC}
|
---|
12 | LOG="bin86-target.log"
|
---|
13 |
|
---|
14 | unpack_tarball bin86-${BIN86_VER} &&
|
---|
15 |
|
---|
16 | if [ "${USE_SYSROOT}" = "Y" ]; then
|
---|
17 | BUILD_PREFIX=/usr
|
---|
18 | INSTALL_PREFIX="${LFS}${BUILD_PREFIX}"
|
---|
19 | INSTALL_OPTIONS="DESTDIR=${LFS}"
|
---|
20 | else
|
---|
21 | BUILD_PREFIX=${TGT_TOOLS}
|
---|
22 | INSTALL_PREFIX="${TGT_TOOLS}"
|
---|
23 | INSTALL_OPTIONS=""
|
---|
24 | fi
|
---|
25 |
|
---|
26 | cd ${SRC}/${PKGDIR}
|
---|
27 |
|
---|
28 | # only build 32bit
|
---|
29 | case ${TGT_ARCH} in
|
---|
30 | x86_64 ) ARCH_CFLAGS="-m32" ;;
|
---|
31 | esac
|
---|
32 |
|
---|
33 | max_log_init Bin86 ${BIN86_VER} target ${BUILDLOGS} ${LOG}
|
---|
34 | make CC="${TARGET}-gcc ${ARCH_CFLAGS}" \
|
---|
35 | >> ${LOGFILE} 2>&1 &&
|
---|
36 | echo " o Build OK" &&
|
---|
37 |
|
---|
38 | min_log_init ${INSTLOGS} &&
|
---|
39 | make PREFIX=${INSTALL_PREFIX} install \
|
---|
40 | >> ${LOGFILE} &&
|
---|
41 | echo " o ALL OK" || barf
|
---|
Note:
See
TracBrowser
for help on using the repository browser.