diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-18 19:10:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-18 19:10:03 +0000 |
commit | 8c5e54b1afbf4f980543e3eccff3495d2fb84419 (patch) | |
tree | 64253854ac3a517c4cd2dc585b1632cf8d698239 /scripts/toolchain.spec.in | |
parent | Ralf Corsepius (corsepiu@faw.uni-ulm.de) submitted these scripts to (diff) | |
download | rtems-8c5e54b1afbf4f980543e3eccff3495d2fb84419.tar.bz2 |
Working on being able to cut RPMs. It now appears that the process
is working mostly for sparc at least.
There is one major problem -- the current process generates a unique
source file per RPM when in fact all of the source files are nearly
the same -- it is only the spec part of the rpm which differs.
The new file mkbinutils_subpackage_version is an attempt to
address this. It does part of the job right -- one source file
produces multiple binary RPMs. BUT the end user can not produce
the resulting RPMS themselves from SRPMS unless they also
build all targets.
Diffstat (limited to 'scripts/toolchain.spec.in')
-rw-r--r-- | scripts/toolchain.spec.in | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/scripts/toolchain.spec.in b/scripts/toolchain.spec.in index a1c04957fc..110514e044 100644 --- a/scripts/toolchain.spec.in +++ b/scripts/toolchain.spec.in @@ -17,21 +17,21 @@ Group: unsorted Provides: rtems-@target_alias@-tools Autoreqprov: on -Packager: corsepiu@faw.uni-ulm.de +Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com Version: @Version@ Summary: rtems gcc tool chain for target @target_alias@ Source0: gcc-2.95.1.tar.gz Source1: newlib-1.8.2.tar.gz -Source2: binutils-2.9.5.tar.gz -Patch0: gcc-2.95.1-rtems-19991014.diff -Patch1: newlib-1.8.2-rtems-19991014.diff -Patch2: binutils-2.9.5-rtems-19991014.diff +Source2: binutils-990901.tar.gz +Patch0: gcc-2.95.1-rtems-19991015.diff +Patch1: newlib-1.8.2-rtems-19991015.diff +Patch2: binutils-990901-rtems-19991015.diff Buildroot: /tmp # Patch: %description -RTEMS is a free operating system for embedded systems. +RTEMS is an open source operating system for embedded systems. Authors: -------- @@ -68,7 +68,7 @@ mkdir src # Get these components from binutils for f in bfd binutils gas gprof ld opcodes etc do - ln -s ../binutils-2.9.5/$f . + ln -s ../binutils-990901/$f . done # Now get the C library @@ -79,9 +79,8 @@ mkdir src test -d build || mkdir build ( cd build ../src/configure --target=@target_alias@ \ - --with-gnu-as --with-gnu-ld --verbose \ - --prefix=/opt/rtems \ - --with-sys-includes=$RPM_BUILD_ROOT/opt/rtems/@target_alias@/sys-include + --with-gnu-as --with-gnu-ld --with-newlib --verbose \ + --prefix=/opt/rtems test -d $RPM_BUILD_ROOT/opt \ || mkdir $RPM_BUILD_ROOT/opt |