Now builds RPM without complete source. Each target is only 15K.

This commit is contained in:
Joel Sherrill
1999-10-21 19:25:19 +00:00
parent 7063e223dc
commit ac5a9bf122
6 changed files with 59 additions and 9 deletions

View File

@@ -21,8 +21,20 @@ Prefix: /opt
Version: @binutils_version@
Summary: binutils for target @target_alias@
Source0: binutils-@binutils_version@.tar.gz
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-@binutils_version@.tar.gz
Patch0: binutils-@binutils_version@-rtems-@binutils_patch_version@.diff
#
# The original sources are not included in the source RPM.
# If we included them, then the source RPMs for each target
# would duplicate MBs of source unnecessarily. This is
# a duplication of over 30 MBs of source for each of
# the more than 10 targets it is possible to build.
#
# You can get them yourself from the Internet and copy them to
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
NoSource: 0
%description
RTEMS is an open source operating system for embedded systems.

View File

@@ -1,7 +1,7 @@
## $Id$
AC_INIT(binutils)
AM_INIT_AUTOMAKE(scripts,19991021-0,no)
AM_INIT_AUTOMAKE(scripts,19991021-1,no)
# RTEMS_CHECK_VERSION(..)
RTEMS_VERSION=GET_RTEMS_VERSION_XXX

View File

@@ -20,13 +20,26 @@ Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com
Version: @gcc_version@newlib@newlib_version@
Summary: rtems gcc and newlib C Library for target @target_alias@
Source0: gcc-@gcc_version@.tar.gz
Source1: newlib-@newlib_version@.tar.gz
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-@gcc_version@.tar.gz
Source1: ftp://sourceware.cygnus/com/pub/newlib/newlib-@newlib_version@.tar.gz
Patch0: gcc-@gcc_version@-rtems-@gcc_patch_version@.diff
Patch1: newlib-@newlib_version@-rtems-@newlib_patch_version@.diff
#
# The original sources are not included in the source RPM.
# If we included them, then the source RPMs for each target
# would duplicate MBs of source unnecessarily. This is
# a duplication of over 30 MBs of source for each of
# the more than 10 targets it is possible to build.
#
# You can get them yourself from the Internet and copy them to
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
NoSource: 0, 1
Buildroot: @rpm_build_root@
# Patch:
%description
RTEMS is an open source operating system for embedded systems.

View File

@@ -21,12 +21,24 @@ Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com
Version: @gdb_version@
Summary: gdb for target @target_alias@
Source0: gdb-@gdb_version@.tar.gz
Patch0: gdb-@gdb_version@-rtems-@gdb_patch_version@.diff
Source0: ftp://ftp.gnu.org/pub/gnu/gdbgdb-@gdb_version@.tar.gz
Patch0: gdb-@gdb_version@-rtems-@gdb_patch_version@.diff
#
# The original sources are not included in the source RPM.
# If we included them, then the source RPMs for each target
# would duplicate MBs of source unnecessarily. This is
# a duplication of over 30 MBs of source for each of
# the more than 10 targets it is possible to build.
#
# You can get them yourself from the Internet and copy them to
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
NoSource: 0
Buildroot: @rpm_build_root@
# Patch:
%description
RTEMS is an open source operating system for embedded systems.

View File

@@ -20,10 +20,22 @@ Packager: corsepiu@faw.uni-ulm.de
Version: @Version@
Summary: A free operating system for embedded systems
Source: rtems-@Version@.tar.gz
#
# The original sources are not included in the source RPM.
# If we included them, then the source RPMs for each target
# would duplicate MBs of source unnecessarily. This is
# a duplication of over 30 MBs of source for each of
# the more than 10 targets it is possible to build.
#
# You can get them yourself from the Internet and copy them to
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
NoSource: 0
# We claim to be relocatible, but in fact we are not
Prefix: /opt
Buildroot: @rpm_build_root@
# Patch:
%description
RTEMS is a free operating system for embedded systems.

View File

@@ -10,3 +10,4 @@ gccnewlib_rpm_release=1
gdb_version=4.18
gdb_patch_version=19991015
gdb_rpm_release=1
rpm_build_root=/tmp