URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 369 |
Rev 370 |
Line 80... |
Line 80... |
uclibc_patch="uClibc-$uclibcver-or32.patch.bz2"
|
uclibc_patch="uClibc-$uclibcver-or32.patch.bz2"
|
uclibc_patch_url="ftp://ocuser:oc@orsoc.se/toolchain"
|
uclibc_patch_url="ftp://ocuser:oc@orsoc.se/toolchain"
|
uclibc_config="extra/Configs/defconfigs/or32"
|
uclibc_config="extra/Configs/defconfigs/or32"
|
|
|
# These are the tools this script requires and depends upon.
|
# These are the tools this script requires and depends upon.
|
reqtools="gcc bzip2 make patch"
|
reqtools="gcc bzip2 make patch file"
|
|
|
##############################################################################
|
##############################################################################
|
# Functions:
|
# Functions:
|
|
|
findtool(){
|
findtool(){
|
Line 317... |
Line 317... |
$make INSTALL_HDR_PATH=$prefix/$target headers_install
|
$make INSTALL_HDR_PATH=$prefix/$target headers_install
|
}
|
}
|
|
|
build_uclibc () {
|
build_uclibc () {
|
file="$uclibc"
|
file="$uclibc"
|
file_url="$uclibc"
|
file_url="$uclibc_url"
|
patch="$uclibc_patch"
|
patch="$uclibc_patch"
|
patch_url="$uclibc_patch_url"
|
patch_url="$uclibc_patch_url"
|
toolname="uClibc"
|
toolname="uClibc"
|
version=$uclibcver
|
version=$uclibcver
|
|
|
Line 407... |
Line 407... |
echo "CROSSBUILD: Build dir : $builddir"
|
echo "CROSSBUILD: Build dir : $builddir"
|
echo "CROSSBUILD: Install dir : $prefix"
|
echo "CROSSBUILD: Install dir : $prefix"
|
|
|
### start the builds
|
### start the builds
|
|
|
build_gnu_tool "or1ksim" "$simver" "$sim" "$sim_url" "" "" "$prefix/or1ksim" "--enable-ethphy"
|
#build_gnu_tool "or1ksim" "$simver" "$sim" "$sim_url" "" "" "$prefix/or1ksim" "--enable-ethphy"
|
|
|
build_gnu_tool "binutils" "$binutilsver" "$binutils" "$binutils_url" "$binutils_patch" "$binutils_patch_url" "$prefix" "$or32configure"
|
build_gnu_tool "binutils" "$binutilsver" "$binutils" "$binutils_url" "$binutils_patch" "$binutils_patch_url" "$prefix" "$or32configure"
|
|
|
PATH="$prefix/bin:${PATH}" # add binutils to $PATH for gcc build
|
PATH="$prefix/bin:${PATH}" # add binutils to $PATH for gcc build
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.