Deleted Added
full compact
update.sh (34497) update.sh (70065)
1#! /bin/sh
2#
1#! /bin/sh
2#
3# $FreeBSD: head/gnu/usr.bin/binutils/update.sh 70065 2000-12-15 20:11:28Z obrien $
4#
3# This script installs the main files generated by the binutils
4# "configure" scripts and makefiles. It can be used for upgrading to
5# a new version of binutils.
6#
7# Don't forget to change the VERSION definition in the top level
8# "Makefile.inc0".
9
10gnudir=$(pwd)
11contribdir="${gnudir}/../../../contrib/binutils"
12platform="`uname -m`"
13
14rm -rf build
15mkdir build
16
17echo "binutils elf configuration for $platform"
18
19(cd build
5# This script installs the main files generated by the binutils
6# "configure" scripts and makefiles. It can be used for upgrading to
7# a new version of binutils.
8#
9# Don't forget to change the VERSION definition in the top level
10# "Makefile.inc0".
11
12gnudir=$(pwd)
13contribdir="${gnudir}/../../../contrib/binutils"
14platform="`uname -m`"
15
16rm -rf build
17mkdir build
18
19echo "binutils elf configuration for $platform"
20
21(cd build
20 ${contribdir}/configure $platform-unknown-freebsdelf || exit
22 ${contribdir}/configure $platform-unknown-freebsd || exit
21 (cd gas
22 echo "Updating as"
23 make config.h || exit
24 cp config.h ${gnudir}/as/$platform/config.h || exit
25 )
26 (cd ld
27 echo "Updating ld"
28 make config.h ldemul-list.h || exit

--- 17 unchanged lines hidden ---
23 (cd gas
24 echo "Updating as"
25 make config.h || exit
26 cp config.h ${gnudir}/as/$platform/config.h || exit
27 )
28 (cd ld
29 echo "Updating ld"
30 make config.h ldemul-list.h || exit

--- 17 unchanged lines hidden ---