Changeset 9676bac for scripts/patch/gcc-patch.sh
- Timestamp:
- 01/20/09 16:01:19 (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 550b73d
- Parents:
- d8b9d99
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/gcc-patch.sh
rd8b9d99 r9676bac 9 9 # 10 10 if [ "${VERSION}" = "" ]; then 11 echo "$0 - GCC_Version" 12 echo "This will Create a Patch for GCC GCC_Version" 11 echo "$0 - GCC_Version" 12 echo "This will Create a Patch for GCC GCC_Version" 13 exit 255 13 14 fi 14 15 … … 17 18 cd /usr/src 18 19 if ! [ -e gcc-${VERSION}.tar.bz2 ]; then 19 20 wget ftp://ftp.gnu.org/gnu/gcc/gcc-${VERSION}/gcc-${VERSION}.tar.bz2 20 21 fi 21 22 … … 38 39 DIRS="gcc-${VERSION} gcc-${VERSION}.orig" 39 40 for DIRECTORY in ${DIRS}; do 40 41 42 43 44 45 46 47 48 49 50 51 52 41 cd ${DIRECTORY} 42 REMOVE="ABOUT-NLS COPYING COPYING.LIB ChangeLog ChangeLog.tree-ssa MAINTAINERS Makefile.def 43 Makefile.in Makefile.tpl README README.SCO boehm-gc/ChangeLog BUGS FAQ LAST_UPDATED 44 MD5SUMS NEWS bugs.html faq.html gcc/BASE-VER gcc/DATESTAMP gcc/DEV-PHASE gcc/c-parse.c 45 gcc/gengtype-lex.c gcc/c-parse.y gcc/gengtype-yacc.c gcc/gengtype-yacc.h gcc/f/BUGS gcc/f/NEWS 46 gcc/java/parse-scan.c gcc/java/parse.c gcc/objc/objc-parse.c gcc/objc/objc-parse.y" 47 for file in ${REMOVE}; do 48 rm -f $file 49 done 50 rm -rf INSTALL 51 rm -f fastjar/*.{1,info} gcc/doc/*.{1,info,7} gcc/fortran/*.{1,info,7} 52 rm -f gcc/po/*.{gmo,po} libcpp/po/*.{gmo,po} libgomp/*.{1,info,7} 53 cd .. 53 54 done 54 55 … … 66 67 diff -Naur gcc-${VERSION}.orig gcc-${VERSION} >> gcc-${VERSION}-branch_update-x.patch 67 68 echo "Created /usr/src/gcc-${VERSION}-branch_update-x.patch." 68 69
Note:
See TracChangeset
for help on using the changeset viewer.