diff options
author | obrien <obrien@FreeBSD.org> | 2002-01-28 12:50:53 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-01-28 12:50:53 +0000 |
commit | 2ecb30eb9372ecf7de5a081c688ea4b331c6900a (patch) | |
tree | c9e1a24e455cc5f3b66edb787c8299502b4eb1d2 /contrib/binutils | |
parent | 3a31fa4b4f37fb66de220dbb32249d57a0738c5f (diff) | |
download | FreeBSD-src-2ecb30eb9372ecf7de5a081c688ea4b331c6900a.zip FreeBSD-src-2ecb30eb9372ecf7de5a081c688ea4b331c6900a.tar.gz |
Explain how I did the binutils_anoncvs_20020127 import.
Diffstat (limited to 'contrib/binutils')
-rw-r--r-- | contrib/binutils/FREEBSD-upgrade | 44 |
1 files changed, 34 insertions, 10 deletions
diff --git a/contrib/binutils/FREEBSD-upgrade b/contrib/binutils/FREEBSD-upgrade index 4531554..920150d 100644 --- a/contrib/binutils/FREEBSD-upgrade +++ b/contrib/binutils/FREEBSD-upgrade @@ -1,22 +1,46 @@ $FreeBSD$ -To strip down a new version of GNU binutils for import, extract -the files like this: +To get a copy of the Binutils source from the Sourceware CVS repository +this command line was used: - tar -xvjf binutils-2.11.2.tar.bz2 -X FREEBSD-Xlist - tar -xvjf binutils-2.11.2.tar.bz2 binutils-2.11.2/include/elf + cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login + # password is "anoncvs" -Don't eliminate the *z8* files. They're needed because of a stupid -hard-coded configure script in the opcodes subdirectory. + cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \ + export -rHEAD -l src + cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \ + export -rHEAD \ + src/bfd src/binutils src/config src/etc src/gas src/include \ + src/ld src/libiberty src/opcodes -If you decide to bring in more of the files, import them -- don't -use ``cvs add''. And please remember to adjust the contents of -`FREEBSD-Xlist' so that it reflects what is really imported from + +To strip down a new version of GNU binutils for import (starting with a +checked out copy from the Sourceware anoncvs repo), prune files like this: + + for F in `cat FREEBSD-deletelist` + do find . -name "$F" -exec rm -rfv {} \; ; + done + +This command should be repeated until no files are shown as being deleted. +(do not eliminate the *z8* files. They're needed because of a stupid +hard-coded configure script in the opcodes subdirectory) + +We need a complete include/elf directory -- even with bits for CPU's we +do not support + + cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \ + export src/include/elf + + +If you decide to bring in more of the files, import them -- do not use +``cvs add''. And please remember to adjust the contents of "FREEBSD-Xlist" +and "FREEBSD-deletelist" so that it reflects what is really imported from the vendor. The vendor import was done by: - cvs import src/contrib/binutils GNU binutils_2_11_2 + cvs import src/contrib/binutils GNU binutils_anoncvs_20020127 + Note that many of the files generated by GNU configure are present pre-built in the "src/gnu/usr.bin/binutils" tree. These can be regenerated for a new |