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>
|
||||
|
||||
* configure.ac: Add rtemsdoc.
|
||||
|
||||
@@ -95,26 +95,30 @@ fi
|
||||
|
||||
|
||||
# This is the full list .. hppa1.1 does not build now.
|
||||
#ALL_TARGETS="hppa1.1-rtems i386-rtems i960-rtems m68k-rtems \
|
||||
# m68k-rtemself mips-rtems mips64orion-rtems \
|
||||
# powerpc-rtems sh-rtems sh-rtemself sparc-rtems"
|
||||
#ALL_TARGETS="arm-rtems h8300-rtems hppa1.1-rtems i386-rtems i960-rtems \
|
||||
# m68k-rtems mips64orion-rtems mips-rtems or32-rtems powerpc-rtems \
|
||||
# sh-rtems sh-rtemself sparc-rtems"
|
||||
|
||||
# This is the full buildable set.
|
||||
if [ "X${TARGETS}" = "X" ] ; then
|
||||
# do not include c4x or hppa primary targets
|
||||
# do not include sh-elf or i960-elf secondary targets
|
||||
TARGETS="arm-rtems h8300-rtems i386-rtems i960-rtems m68k-rtems \
|
||||
mips-rtems mips64orion-rtems powerpc-rtems sh-rtems sparc-rtems"
|
||||
TARGETS="arm-rtems h8300-rtems hppa1.1-rtems i386-rtems \
|
||||
m68k-rtems mips64orion-rtems mips-rtems powerpc-rtems \
|
||||
sh-rtems sh-rtemself sparc-rtems"
|
||||
fi
|
||||
|
||||
. $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}
|
||||
gcc=${gcc_version}
|
||||
gcc=${gcc3_version}
|
||||
gdb=${gdb_version}
|
||||
newlib=${newlib_version}
|
||||
newlib=${gcc3newlib_version}
|
||||
# also use binutils_rpm_release
|
||||
buildroot=/tmp
|
||||
|
||||
#
|
||||
# Now get started
|
||||
@@ -203,12 +207,12 @@ do
|
||||
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
||||
check_fatal $? "make install-info"
|
||||
|
||||
cd ${buildroot}
|
||||
cd ${rpm_build_root}
|
||||
tar cjf ${bintarfile}.bz2 opt
|
||||
cd ${CWD}
|
||||
rm -rf b-${target}-bin
|
||||
${ECHO} rm -rf ${rpm_build_root}/opt
|
||||
#rm -rf ${rpm_build_root}/opt
|
||||
rm -rf ${rpm_build_root}/opt
|
||||
else
|
||||
echo Skipping binutils for ${target}
|
||||
fi
|
||||
@@ -225,8 +229,7 @@ do
|
||||
gcctarfile=${OUT}/${target}-gcc-${gcc}-newlib-${newlib}-${gccnewlib_rpm_release}.tar
|
||||
if [ ${cdn_cross} = "no" ] ; then
|
||||
bintarfile=${dst}/binaries/binutils-${binutils}-${binutils_rpm_release}/${target}-binutils-${binutils}-${binutils_rpm_release}.tar
|
||||
cd /
|
||||
rm -rf /opt/*
|
||||
rm -rf ${rpm_build_root}/opt/*
|
||||
tar xjf ${bintarfile}.bz2
|
||||
fi
|
||||
|
||||
@@ -244,7 +247,10 @@ do
|
||||
cd b-${target}-gccnewlib
|
||||
echo "Building gcc-${gcc} for ${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
|
||||
check_fatal $? "gcc configure"
|
||||
|
||||
@@ -261,7 +267,7 @@ do
|
||||
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
||||
check_fatal $? "newlib make install-info"
|
||||
|
||||
cd ${buildroot}
|
||||
cd ${rpm_build_root}
|
||||
tar cjf ${gcctarfile}.bz2 opt
|
||||
cd ${CWD}
|
||||
rm -rf ${rpm_build_root}/opt
|
||||
@@ -320,7 +326,7 @@ esac
|
||||
make prefix=${rpm_build_root}/opt/rtems install-info >>${logfile} 2>&1
|
||||
check_fatal $? "make install-info"
|
||||
|
||||
cd ${buildroot}
|
||||
cd ${rpm_build_root}
|
||||
tar cjf ${gdbtarfile}.bz2 opt
|
||||
cd ${CWD}
|
||||
${ECHO} rm -rf ${rpm_build_root}/opt
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
binutils_version=2.13.1
|
||||
binutils_version=2.13.2.1
|
||||
binutils_patch_version=
|
||||
binutils_rpm_release=1
|
||||
newlib_version=1.10.0
|
||||
@@ -17,8 +17,8 @@ gdb_rpm_release=1
|
||||
rtems_version=ss-20000726
|
||||
rtems_rpm_release=1
|
||||
rpm_build_root=%{_tmppath}
|
||||
gcc3newlib_version=1.10.0
|
||||
gcc3newlib_patch_version=20021127
|
||||
gcc3newlib_version=1.11.0
|
||||
gcc3newlib_patch_version=20030120
|
||||
gcc3_version=3.2.1
|
||||
gcc3_patch_version=20021209
|
||||
gcc3newlib_rpm_release=4
|
||||
gcc3newlib_rpm_release=1
|
||||
|
||||
Reference in New Issue
Block a user