URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc
- from Rev 194 to Rev 195
- ↔ Reverse comparison
Rev 194 → Rev 195
/trunk/linux/patches/linux-2.6.34-or32.patch.bz2
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
trunk/linux/patches/linux-2.6.34-or32.patch.bz2
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/uClibc/patches/uClibc-0.9.31-or32.patch.bz2
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/uClibc/patches/uClibc-0.9.31-or32.patch.bz2
===================================================================
--- trunk/uClibc/patches/uClibc-0.9.31-or32.patch.bz2 (nonexistent)
+++ trunk/uClibc/patches/uClibc-0.9.31-or32.patch.bz2 (revision 195)
trunk/uClibc/patches/uClibc-0.9.31-or32.patch.bz2
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/bootloaders/orpmon/doc/ORPmref.pdf
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/bootloaders/orpmon/doc/ORPmref.pdf
===================================================================
--- trunk/bootloaders/orpmon/doc/ORPmref.pdf (revision 194)
+++ trunk/bootloaders/orpmon/doc/ORPmref.pdf (nonexistent)
trunk/bootloaders/orpmon/doc/ORPmref.pdf
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/gnu-src/bld.sh
===================================================================
--- trunk/gnu-src/bld.sh (revision 194)
+++ trunk/gnu-src/bld.sh (revision 195)
@@ -64,6 +64,7 @@
# --scdir: Specify the unified source directory
# --builddir: Specify the build directory
# --or1ksim: Specify the or1ksim installation directory
+# --with-newlib:Build newlib
# --nolink: Don't build the unified source directory
# --noconfig: Don't run configure
# --noinstall: Don't run install
@@ -72,7 +73,9 @@
nolink="false";
noconfig="false";
noinstall="false";
-
+newlibconfigure=; # Default is without!
+newlibmake=;
+installnewlib=;
until
opt=$1
case ${opt}
@@ -100,6 +103,11 @@
or1ksim_dir=$2;
shift;
;;
+ --with-newlib)
+ newlibconfigure="--with-newlib";
+ newlibmake="all-target-newlib all-target-libgloss";
+ installnewlib="install-target-newlib install-target-libgloss";
+ ;;
--nolink)
nolink="true";
@@ -123,6 +131,7 @@
echo " --scdir : Specify the build directory"
echo " --or1ksim : Specify the Or1ksim installation directory"
+ echo " --with-newlib Build newlib"
echo " --nolink Don't build the unified source directory"
echo " --noconfig Don't run configure"
echo " --noinstall Don't run install"
@@ -225,7 +234,7 @@
--with-pkgversion="OpenRISC 32-bit toolchain (built `date +%Y%m%d`)" \
--with-bugurl=http://www.opencores.org/ \
--with-or1ksim=${or1ksim_dir} \
- --with-newlib \
+ ${newlibconfigure} \
--enable-fast-install=N/A --disable-libssp \
--enable-languages=c --prefix=${install_dir}
@@ -255,18 +264,19 @@
exit 1
fi
-make all-target-newlib all-target-libgloss all-gdb
+make ${newlibmake} all-gdb
if [ $? != 0 ]
then
- echo "make (newlib, gdb) failed."
+ echo "make ($newlibmake gdb) failed."
exit 1
fi
+
# Install everything
if [ "x$noinstall" == "xfalse" ]
then
make install-binutils install-gas install-ld install-gcc \
- install-target-newlib install-target-libgloss install-gdb
+ ${newlibinstall} install-gdb
if [ $? != 0 ];
then