# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # Please add additional copyright information _after_ the line containing # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # # ROCK Linux: rock-src/package/base/gcc3-cross/cross.conf # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. A copy of the GNU General Public # License can be found at Documentation/COPYING. # # Many people helped and are helping developing ROCK Linux. Please # have a look at http://www.rocklinux.org/ and the Documentation/TEAM # file for details. # # --- ROCK-COPYRIGHT-NOTE-END --- # common prefix if not used as stage0 cross-cross-compiler ... if [ "$stagelevel" -gt 0 -a $prefix_auto = 1 ] ; then if [ "$ROCKCFG_CROSS_PREFIX" ] ; then prefix="$ROCKCFG_CROSS_PREFIX" else prefix="opt/cross-tools" fi set_confopt fi archdir="${archdir/-cross/}" realpkg="${pkg/-cross/}" # real package's download files tag=D tagdata="`egrep "^\[($tag)\]" $base/package/$repository/$realpkg/$realpkg.desc | \ cut -f2- -d']' | sed 's,^ ,,'`" tag="`echo $tag | cut -f1 -d'|' | tr - _`" eval "desc_$tag=\"\$tagdata\"" patchfiles="$base/package/$repository/${pkg/-cross/}/*.patch" for x in $patchfiles ; do [ -e $x ] || var_remove patchfiles $x done arch_target="$ROCKCFG_PKG_CROSSCC_ARCH_TARGET" arch_machine="${arch_target/-*/}" # # the gcc needs the target binutils during the compilation # # but can not find it if they are installed in a extraordinary # # location, like the one used for the stage0 build ... # var_append PATH ':' "$root/$prefix/bin"