forked from Imagelibrary/rtems
2003-01-27 RTEMS
* buildalltar.in, setup.def: Tool update including binaries for Cygwin with a special RTEMS user account.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2003-01-27 RTEMS
|
||||||
|
|
||||||
|
* buildalltar.in, setup.def: Tool update including binaries for Cygwin
|
||||||
|
with a special RTEMS user account.
|
||||||
|
|
||||||
2003-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* configure.ac: Add rtemsdoc.
|
* configure.ac: Add rtemsdoc.
|
||||||
|
|||||||
@@ -95,26 +95,30 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# This is the full list .. hppa1.1 does not build now.
|
# This is the full list .. hppa1.1 does not build now.
|
||||||
#ALL_TARGETS="hppa1.1-rtems i386-rtems i960-rtems m68k-rtems \
|
#ALL_TARGETS="arm-rtems h8300-rtems hppa1.1-rtems i386-rtems i960-rtems \
|
||||||
# m68k-rtemself mips-rtems mips64orion-rtems \
|
# m68k-rtems mips64orion-rtems mips-rtems or32-rtems powerpc-rtems \
|
||||||
# powerpc-rtems sh-rtems sh-rtemself sparc-rtems"
|
# sh-rtems sh-rtemself sparc-rtems"
|
||||||
|
|
||||||
# This is the full buildable set.
|
# This is the full buildable set.
|
||||||
if [ "X${TARGETS}" = "X" ] ; then
|
if [ "X${TARGETS}" = "X" ] ; then
|
||||||
# do not include c4x or hppa primary targets
|
# do not include c4x or hppa primary targets
|
||||||
# do not include sh-elf or i960-elf secondary targets
|
# do not include sh-elf or i960-elf secondary targets
|
||||||
TARGETS="arm-rtems h8300-rtems i386-rtems i960-rtems m68k-rtems \
|
TARGETS="arm-rtems h8300-rtems hppa1.1-rtems i386-rtems \
|
||||||
mips-rtems mips64orion-rtems powerpc-rtems sh-rtems sparc-rtems"
|
m68k-rtems mips64orion-rtems mips-rtems powerpc-rtems \
|
||||||
|
sh-rtems sh-rtemself sparc-rtems"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. $CFG
|
. $CFG
|
||||||
|
|
||||||
|
# override the one from $CFG since it likely has a % in it to use the
|
||||||
|
# .rpmrc setting which we can't use
|
||||||
|
rpm_build_root=${HOME}/tmp
|
||||||
|
|
||||||
binutils=${binutils_version}
|
binutils=${binutils_version}
|
||||||
gcc=${gcc_version}
|
gcc=${gcc3_version}
|
||||||
gdb=${gdb_version}
|
gdb=${gdb_version}
|
||||||
newlib=${newlib_version}
|
newlib=${gcc3newlib_version}
|
||||||
# also use binutils_rpm_release
|
# also use binutils_rpm_release
|
||||||
buildroot=/tmp
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Now get started
|
# Now get started
|
||||||
@@ -203,12 +207,12 @@ do
|
|||||||
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
||||||
check_fatal $? "make install-info"
|
check_fatal $? "make install-info"
|
||||||
|
|
||||||
cd ${buildroot}
|
cd ${rpm_build_root}
|
||||||
tar cjf ${bintarfile}.bz2 opt
|
tar cjf ${bintarfile}.bz2 opt
|
||||||
cd ${CWD}
|
cd ${CWD}
|
||||||
rm -rf b-${target}-bin
|
rm -rf b-${target}-bin
|
||||||
${ECHO} rm -rf ${rpm_build_root}/opt
|
${ECHO} rm -rf ${rpm_build_root}/opt
|
||||||
#rm -rf ${rpm_build_root}/opt
|
rm -rf ${rpm_build_root}/opt
|
||||||
else
|
else
|
||||||
echo Skipping binutils for ${target}
|
echo Skipping binutils for ${target}
|
||||||
fi
|
fi
|
||||||
@@ -225,8 +229,7 @@ do
|
|||||||
gcctarfile=${OUT}/${target}-gcc-${gcc}-newlib-${newlib}-${gccnewlib_rpm_release}.tar
|
gcctarfile=${OUT}/${target}-gcc-${gcc}-newlib-${newlib}-${gccnewlib_rpm_release}.tar
|
||||||
if [ ${cdn_cross} = "no" ] ; then
|
if [ ${cdn_cross} = "no" ] ; then
|
||||||
bintarfile=${dst}/binaries/binutils-${binutils}-${binutils_rpm_release}/${target}-binutils-${binutils}-${binutils_rpm_release}.tar
|
bintarfile=${dst}/binaries/binutils-${binutils}-${binutils_rpm_release}/${target}-binutils-${binutils}-${binutils_rpm_release}.tar
|
||||||
cd /
|
rm -rf ${rpm_build_root}/opt/*
|
||||||
rm -rf /opt/*
|
|
||||||
tar xjf ${bintarfile}.bz2
|
tar xjf ${bintarfile}.bz2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -244,7 +247,10 @@ do
|
|||||||
cd b-${target}-gccnewlib
|
cd b-${target}-gccnewlib
|
||||||
echo "Building gcc-${gcc} for ${target}"
|
echo "Building gcc-${gcc} for ${target}"
|
||||||
../gcc-${gcc}/configure ${CDN_ARGS} --target=${target} \
|
../gcc-${gcc}/configure ${CDN_ARGS} --target=${target} \
|
||||||
--with-gnu-as --with-gnu-ld --with-newlib --verbose --enable-threads \
|
--with-gnu-as --with-gnu-ld --with-newlib --verbose \
|
||||||
|
--with-system-zlib --disable-nls \
|
||||||
|
--enable-version-specific-runtime-libs \
|
||||||
|
--enable-threads=rtems \
|
||||||
--prefix=/opt/rtems '--enable-languages=c,c++' >${logfile} 2>&1
|
--prefix=/opt/rtems '--enable-languages=c,c++' >${logfile} 2>&1
|
||||||
check_fatal $? "gcc configure"
|
check_fatal $? "gcc configure"
|
||||||
|
|
||||||
@@ -261,7 +267,7 @@ do
|
|||||||
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
||||||
check_fatal $? "newlib make install-info"
|
check_fatal $? "newlib make install-info"
|
||||||
|
|
||||||
cd ${buildroot}
|
cd ${rpm_build_root}
|
||||||
tar cjf ${gcctarfile}.bz2 opt
|
tar cjf ${gcctarfile}.bz2 opt
|
||||||
cd ${CWD}
|
cd ${CWD}
|
||||||
rm -rf ${rpm_build_root}/opt
|
rm -rf ${rpm_build_root}/opt
|
||||||
@@ -320,7 +326,7 @@ esac
|
|||||||
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
||||||
check_fatal $? "make install-info"
|
check_fatal $? "make install-info"
|
||||||
|
|
||||||
cd ${buildroot}
|
cd ${rpm_build_root}
|
||||||
tar cjf ${gdbtarfile}.bz2 opt
|
tar cjf ${gdbtarfile}.bz2 opt
|
||||||
cd ${CWD}
|
cd ${CWD}
|
||||||
${ECHO} rm -rf ${rpm_build_root}/opt
|
${ECHO} rm -rf ${rpm_build_root}/opt
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
binutils_version=2.13.1
|
binutils_version=2.13.2.1
|
||||||
binutils_patch_version=
|
binutils_patch_version=
|
||||||
binutils_rpm_release=1
|
binutils_rpm_release=1
|
||||||
newlib_version=1.10.0
|
newlib_version=1.10.0
|
||||||
@@ -17,8 +17,8 @@ gdb_rpm_release=1
|
|||||||
rtems_version=ss-20000726
|
rtems_version=ss-20000726
|
||||||
rtems_rpm_release=1
|
rtems_rpm_release=1
|
||||||
rpm_build_root=%{_tmppath}
|
rpm_build_root=%{_tmppath}
|
||||||
gcc3newlib_version=1.10.0
|
gcc3newlib_version=1.11.0
|
||||||
gcc3newlib_patch_version=20021127
|
gcc3newlib_patch_version=20030120
|
||||||
gcc3_version=3.2.1
|
gcc3_version=3.2.1
|
||||||
gcc3_patch_version=20021209
|
gcc3_patch_version=20021209
|
||||||
gcc3newlib_rpm_release=4
|
gcc3newlib_rpm_release=1
|
||||||
|
|||||||
Reference in New Issue
Block a user