From 8c5e54b1afbf4f980543e3eccff3495d2fb84419 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 18 Oct 1999 19:10:03 +0000 Subject: 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. --- scripts/toolchain.spec.in | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'scripts/toolchain.spec.in') 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 -- cgit v1.2.3