Browse Source

some initial cleanups - but some debugging is still turned on ...

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@976 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
ad91ba674f
4 changed files with 20 additions and 8 deletions
  1. +0
    -3
      package/base/binutils-cross/binutils-cross.conf
  2. +20
    -0
      package/base/gcc3-cross/cross.conf
  3. +0
    -3
      package/base/gcc3-cross/gcc3-cross.conf
  4. +0
    -2
      package/base/glibc23-cross/glibc23-cross.conf

+ 0
- 3
package/base/binutils-cross/binutils-cross.conf

@ -23,9 +23,6 @@
# include the cross configuration
. $base/package/base/gcc3-cross/cross.conf
srctar="$realpkg-$ver.tar.bz2"
patchfiles="$base/package/$repository/$realpkg/*.patch"
# always append the cross arch as program prefix
var_append confopt " " "--program-prefix=${arch_target}-"

+ 20
- 0
package/base/gcc3-cross/cross.conf

@ -1,4 +1,6 @@
# common prefix
if [ $prefix_auto = 1 ] ; then
if [ "$ROCKCFG_CROSS_PREFIX" ] ; then
prefix="$ROCKCFG_CROSS_PREFIX"
@ -12,6 +14,24 @@ set_confopt
archdir="${archdir/-cross/}"
realpkg="${pkg/-cross/}"
# real package's download files
set -x
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\""
# detect patch files ...
patchfiles="$base/package/$repository/${pkg/-cross/}/*.patch"
for x in $patchfiles ; do
[ -e $x ] || var_remove patchfiles $x
done
set +x
#arch=sparc64
arch_machine="sparc64"
arch_target="sparc64-unknown-linux-gnu"

+ 0
- 3
package/base/gcc3-cross/gcc3-cross.conf

@ -27,9 +27,6 @@
confopt="--preifx=$root/$prefix --target=\$arch_target --host=\$arch_build \
--disable-nls"
patchfiles="$base/package/$repository/$realpkg/*.patch"
srctar="gcc-$ver.tar.bz2" # no $realpkg since it includes a version ...
# do the same as gcc3
. $base/package/base/gcc3/gcc3.conf

+ 0
- 2
package/base/glibc23-cross/glibc23-cross.conf

@ -23,8 +23,6 @@
# include the cross configuration
. $base/package/base/gcc3-cross/cross.conf
patchfiles="$base/package/$repository/${pkg/-cross/}/*.patch"
# include the functions the glibc23 package provides ...
. $base/package/base/glibc23/glibc23.conf

Loading…
Cancel
Save