Browse Source

configuration for the -cross packages, incl. help

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@990 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
ac44299b93
3 changed files with 69 additions and 3 deletions
  1. +33
    -0
      package/base/gcc3-cross/config-300.hlp
  2. +34
    -0
      package/base/gcc3-cross/config-300.in
  3. +2
    -3
      package/base/gcc3-cross/cross.conf

+ 33
- 0
package/base/gcc3-cross/config-300.hlp

@ -0,0 +1,33 @@
# --- 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/config-300.hlp
# 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 ---
MENU_PKG_CROSSCC
This menu inclues the options for a possible cross-compiler.
ROCKCFG_PKG_CROSSCC
Select this options to compile a cross-compiler in addition to the
normal compiler packages. (E.g. if you want to develop for embedded
devices.)
ROCKCFG_PKG_CROSSCC_ARCH_TARGET
The target architecture for the cross-compiler. This need to be a valid
definition supported by GCC ...

+ 34
- 0
package/base/gcc3-cross/config-300.in

@ -0,0 +1,34 @@
# --- 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/hotplug/config.in
# 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 ---
menu_begin MENU_PKG_CROSSCC 'Cross Compiler Options'
bool 'Build a GCC based cross compiler' \
ROCKCFG_PKG_CROSSCC 0
if [ "$ROCKCFG_PKG_CROSSCC" = 1 ] ; then
pkgenable linux24-header-cross glibc23-cross binutils-cross gcc3-cross
text 'Target architecture' ROCKCFG_PKG_CROSSCC_ARCH_TARGET \
'sparc64-unknown-linux-gnu'
fi
menu_end

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

@ -49,7 +49,6 @@ for x in $patchfiles ; do
[ -e $x ] || var_remove patchfiles $x
done
#arch=sparc64
arch_machine="sparc64"
arch_target="sparc64-unknown-linux-gnu"
arch_target="$ROCKCFG_PKG_CROSSCC_ARCH_TARGET"
arch_machine="${arch_target/-*/}"

Loading…
Cancel
Save