diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-22 14:30:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-22 14:30:41 +0000 |
commit | b41a0d197c2035e415306715bdcafd4cb67f106a (patch) | |
tree | 3804d66a998029134e3b99990971fdc4ca345823 /scripts/rtems | |
parent | Removed need for START_BASE. (diff) | |
download | rtems-b41a0d197c2035e415306715bdcafd4cb67f106a.tar.bz2 |
RTEMS RPM basically working.
Diffstat (limited to 'scripts/rtems')
-rw-r--r-- | scripts/rtems/rtems.spec.in | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/scripts/rtems/rtems.spec.in b/scripts/rtems/rtems.spec.in index f0aab6e919..f2ba46395b 100644 --- a/scripts/rtems/rtems.spec.in +++ b/scripts/rtems/rtems.spec.in @@ -15,11 +15,13 @@ Group: unsorted Provides: rtems-@target_alias@-@bsp@ Autoreqprov: on -Packager: corsepiu@faw.uni-ulm.de +Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com +Requires: @target_alias@-binutils +Requires: @target_alias@-gcc -Version: @Version@ +Version: @rtems_version@ Summary: A free operating system for embedded systems -Source: rtems-@Version@.tar.gz +Source: rtems-@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 @@ -45,17 +47,17 @@ Authors: ... %prep -# untar the sources inside rtems-@target_alias@-@bsp@-@Version@ -%setup -c -n rtems-@target_alias@-@bsp@-@Version@ +# untar the sources inside rtems-@target_alias@-@bsp@-@rtems_version@ +%setup -c -n rtems-@target_alias@-@bsp@-@rtems_version@ # no patch needed # %patch %build # rtems does not support building inside the source tree - if test ! -f rtems-@Version@/configure; + if test ! -f rtems-@rtems_version@/configure; then - ( cd rtems-@Version@; ./autogen ) + ( cd rtems-@rtems_version@; ./bootstrap ) fi - ./rtems-@Version@/configure \ + ./rtems-@rtems_version@/configure \ --target=@target_alias@ \ --prefix=/opt/rtems/@target_alias@ \ --enable-networking \ @@ -63,7 +65,8 @@ Authors: --enable-cxx \ --disable-tests \ --enable-rdbg \ - --disable-multiprocessing + --disable-multiprocessing \ + --disable-itron make RTEMS_BSP=@bsp@ %install make RTEMS_BSP=@bsp@ prefix=$RPM_BUILD_ROOT/opt/rtems/@target_alias@ install |