clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
|
Last change
on this file since 3a4ffbb1 was 3a4ffbb1, checked in by Jim Gifford <clfs@…>, 20 years ago |
r2516@server (orig r1255): ryan | 2006-03-10 02:10:18 -0800
r1305@rei: lfs | 2006-03-10 20:59:47 +1100
Ensure "configure" is executable
|
-
Property mode
set to
100755
|
|
File size:
980 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash
|
|---|
| 2 |
|
|---|
| 3 | # cross-lfs native iproute2 build
|
|---|
| 4 | # -------------------------------
|
|---|
| 5 | # $LastChangedBy$
|
|---|
| 6 | # $LastChangedDate$
|
|---|
| 7 | # $LastChangedRevision$
|
|---|
| 8 | # $HeadURL$
|
|---|
| 9 | #
|
|---|
| 10 |
|
|---|
| 11 | # TODO: look into whether this needs to install libs... if
|
|---|
| 12 | # so, use libdirname...
|
|---|
| 13 | cd ${SRC}
|
|---|
| 14 | LOG=iproute2-native.log
|
|---|
| 15 | set_libdirname
|
|---|
| 16 | setup_multiarch
|
|---|
| 17 |
|
|---|
| 18 | unpack_tarball iproute2-${IPROUTE2_VER}
|
|---|
| 19 | cd ${PKGDIR}
|
|---|
| 20 |
|
|---|
| 21 | test -f misc/Makefile-ORIG || cp -p misc/Makefile misc/Makefile-ORIG
|
|---|
| 22 | chmod 666 misc/Makefile
|
|---|
| 23 | sed -e '/^TARGETS/s@arpd@@g' \
|
|---|
| 24 | misc/Makefile-ORIG > misc/Makefile
|
|---|
| 25 |
|
|---|
| 26 | # gah, configure wasn't executable
|
|---|
| 27 | chmod 775 configure
|
|---|
| 28 |
|
|---|
| 29 | max_log_init iproute2 ${IPROUTE2_VER} "native (shared)" ${CONFLOGS} ${LOG}
|
|---|
| 30 | ./configure \
|
|---|
| 31 | >> ${LOGFILE} 2>&1 &&
|
|---|
| 32 | echo " o Configure OK" &&
|
|---|
| 33 |
|
|---|
| 34 | min_log_init ${BUILDLOGS} &&
|
|---|
| 35 | make CC="${CC-gcc} ${ARCH_CFLAGS} ${TGT_CFLAGS}" SBINDIR="/sbin" \
|
|---|
| 36 | >> ${LOGFILE} 2>&1 &&
|
|---|
| 37 | echo " o Build OK" &&
|
|---|
| 38 |
|
|---|
| 39 | min_log_init ${INSTLOGS} &&
|
|---|
| 40 | make SBINDIR=/sbin install \
|
|---|
| 41 | >> ${LOGFILE} 2>&1 &&
|
|---|
| 42 | echo " o ALL OK" || barf
|
|---|
| 43 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.