mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.0 KiB

  1. #!/bin/bash
  2. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  3. #
  4. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  5. # Please add additional copyright information _after_ the line containing
  6. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  7. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  8. #
  9. # ROCK Linux: rock-src/misc/config/config-200-crosstools.in
  10. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  11. #
  12. # This program is free software; you can redistribute it and/or modify
  13. # it under the terms of the GNU General Public License as published by
  14. # the Free Software Foundation; either version 2 of the License, or
  15. # (at your option) any later version. A copy of the GNU General Public
  16. # License can be found at Documentation/COPYING.
  17. #
  18. # Many people helped and are helping developing ROCK Linux. Please
  19. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  20. # file for details.
  21. #
  22. # --- ROCK-COPYRIGHT-NOTE-END ---
  23. menu_begin MENU_CROSSTOOLS 'Cross Toolchain Creation'
  24. if [ -f "architecture/$ROCKCFG_ARCH/archtest.sh" ] ; then
  25. . architecture/$ROCKCFG_ARCH/archtest.sh
  26. else
  27. . architecture/$ROCKCFG_ARCH/archtest.out
  28. fi
  29. for crosstarget in sparc sparc64 mips mipsel mips64 mips64el powerpc i386 x86_64 ; do
  30. [ "$crosstarget-unknown-linux-gnu" == "$arch_target" ] && continue ;
  31. bool "Build $crosstarget cross toolchain" ROCKCFG_PKG_CROSSTOOL_$crosstarget 0
  32. if [ "$( eval echo \$ROCKCFG_PKG_CROSSTOOL_$crosstarget )" == 1 ] ; then
  33. pkgfork linux-libc-headers linux-libc-headers-cross-$crosstarget \
  34. stages -----5---9 priority 600.000
  35. pkgfork linux linux26-headers-cross-$crosstarget \
  36. stages -----5---9 priority 600.000
  37. pkgfork glibc $ROCKCFG_PKG_GLIBC_BRANCH-cross-$crosstarget \
  38. stages -----56--9 priority 601.000
  39. pkgfork binutils binutils-cross-$crosstarget \
  40. stages -----5---9 priority 602.000
  41. pkgfork gcc $ROCKCFG_DEFAULT_CC-cross-$crosstarget \
  42. stages -----56--9 priority 603.000
  43. fi
  44. done
  45. menu_end