forked from Imagelibrary/rtems
2003-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* gdb/gdb.add: Remove header, broken cdn-X configuration,
%clean, Replace @exe_ext@ with %{_exeext}.
* gdb/mkspec.in: Remove exe_ext.
* gdb/target-gdb.add: Replace @exe_ext@ with %{_exeext}.
* gdb/Makefile.am: Use $(top_builddir)/common/common.add,
$(top_builddir)/common/clean.add, header.add.
* gcc3newlib/base-gcj.add: Replace @exe_ext@ with %{_exeext}.
* cpukit/mkspec.in: Remove exe_ext.
* binutils/Makefile.am: Use $(top_builddir)/common/common.add,
$(top_builddir)/common/clean.add, header.add.
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
2003-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* gdb/gdb.add: Remove header, broken cdn-X configuration,
|
||||
%clean, Replace @exe_ext@ with %{_exeext}.
|
||||
* gdb/mkspec.in: Remove exe_ext.
|
||||
* gdb/target-gdb.add: Replace @exe_ext@ with %{_exeext}.
|
||||
* gdb/Makefile.am: Use $(top_builddir)/common/common.add,
|
||||
$(top_builddir)/common/clean.add, header.add.
|
||||
* gcc3newlib/base-gcj.add: Replace @exe_ext@ with %{_exeext}.
|
||||
* cpukit/mkspec.in: Remove exe_ext.
|
||||
* binutils/Makefile.am: Use $(top_builddir)/common/common.add,
|
||||
$(top_builddir)/common/clean.add, header.add.
|
||||
|
||||
2003-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* gcc3newlib/gccnewlib.add: Remove header, broken cdn-X configuration,
|
||||
@@ -9,7 +22,7 @@
|
||||
* gcc3newlib/target-gcj.add: Replace @exe_ext@ with %{_exeext}.
|
||||
* gcc3newlib/target-gnat.add: Replace @exe_ext@ with %{_exeext}.
|
||||
* gcc3newlib/target-objc.add: Replace @exe_ext@ with %{_exeext}.
|
||||
+ gcc3newlib/Makefile.am: Use $(top_builddir)/common/common.add,
|
||||
* gcc3newlib/Makefile.am: Use $(top_builddir)/common/common.add,
|
||||
$(top_builddir)/common/clean.add, header.add.
|
||||
|
||||
2003-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
@@ -5,8 +5,10 @@
|
||||
|
||||
MKBINUTILSSPEC = $(SHELL) ./mkspec
|
||||
|
||||
SUBPACKAGES = binutils.add \
|
||||
base-binutils.add target-binutils.add
|
||||
SUBPACKAGES = header.add
|
||||
SUBPACKAGES += $(top_builddir)/common/common.add binutils.add
|
||||
SUBPACKAGES += $(top_builddir)./common/clean.add
|
||||
SUBPACKAGES += base-binutils.add target-binutils.add
|
||||
|
||||
binutils.spec.in: $(SUBPACKAGES)
|
||||
cat $^ > $@
|
||||
|
||||
@@ -6,7 +6,6 @@ RPM_VERSION=`echo ${RTEMS_VERSION} | tr - _`
|
||||
|
||||
CFG=../setup.cache
|
||||
dst=@RPM_SPECSdir@
|
||||
exe_ext=@EXEEXT@
|
||||
|
||||
usage()
|
||||
{
|
||||
@@ -52,5 +51,4 @@ sed -e "s%@Release\@%${rtems_rpm_release}%g" \
|
||||
-e "s%@rpm_version\@%${RPM_VERSION}%g" \
|
||||
-e "s,@rpm_build_root\@,${rpm_build_root},g" \
|
||||
-e "s%@target_alias\@%${target_alias}%g" \
|
||||
-e "s%@exe_ext\@%${exe_ext}%g" \
|
||||
< ${RTEMS_DIR}/cpukit/rtems-cpukit.spec.in
|
||||
|
||||
@@ -16,8 +16,8 @@ This is the files for gcc/java (gcj) that are shared by all targets.
|
||||
%files -n rtems-base-gcj
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/bin
|
||||
%{_prefix}/bin/jar@exe_ext@
|
||||
%{_prefix}/bin/grepjar@exe_ext@
|
||||
%{_prefix}/bin/jar%{_exeext}
|
||||
%{_prefix}/bin/grepjar%{_exeext}
|
||||
|
||||
%dir %{_prefix}/info
|
||||
%doc %{_prefix}/info/gcj.info*.gz
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
|
||||
MKSPEC = $(SHELL) ./mkspec
|
||||
|
||||
SUBPACKAGES = gdb.add base-gdb.add target-gdb.add
|
||||
SUBPACKAGES = header.add
|
||||
SUBPACKAGES += $(top_builddir)/common/common.add
|
||||
SUBPACKAGES += gdb.add
|
||||
SUBPACKAGES += $(top_builddir)/common/clean.add
|
||||
SUBPACKAGES += base-gdb.add target-gdb.add
|
||||
|
||||
noinst_DATA = gdb.spec.in
|
||||
|
||||
|
||||
@@ -1,16 +1,3 @@
|
||||
#
|
||||
# spec file for package rtems
|
||||
#
|
||||
# Copyright (c) 1999 OARCorp, Huntsville, AL
|
||||
#
|
||||
# please send bugfixes or comments to joel@OARcorp.com
|
||||
#
|
||||
|
||||
%define _prefix @prefix@
|
||||
%define _defaultbuildroot %{_tmppath}/%{name}-%{version}
|
||||
|
||||
Vendor: OAR Corporation
|
||||
Distribution: Linux
|
||||
Name: @target_alias@-gdb-collection
|
||||
Release: @Release@
|
||||
License: GPL/LGPL
|
||||
@@ -62,7 +49,8 @@ cd gdb-@gdb_version@
|
||||
%build
|
||||
test -d build || mkdir build
|
||||
cd build
|
||||
../gdb-@gdb_version@/configure --target=@target_alias@ \
|
||||
../gdb-@gdb_version@/configure \
|
||||
--target=@target_alias@ \
|
||||
--verbose --prefix=%{_prefix} @extra_configure_arguments@ \
|
||||
--disable-nls
|
||||
|
||||
@@ -87,8 +75,3 @@ test -d build || mkdir build
|
||||
gzip -f $RPM_BUILD_ROOT%{_prefix}/info/*.info 2>/dev/null
|
||||
gzip -f $RPM_BUILD_ROOT%{_prefix}/info/*.info-? 2>/dev/null
|
||||
gzip -f $RPM_BUILD_ROOT%{_prefix}/info/*.info-?? 2>/dev/null
|
||||
|
||||
%clean
|
||||
# let rpm --clean remove BuildRoot iif using the default BuildRoot
|
||||
test "$RPM_BUILD_ROOT" = "%{_defaultbuildroot}" && \
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
RTEMS_DIR=`dirname $0`/@top_srcdir@
|
||||
|
||||
CFG=../setup.cache
|
||||
exe_ext=@EXEEXT@
|
||||
|
||||
specsrc=${RTEMS_DIR}/gdb/gdb.spec.in
|
||||
|
||||
@@ -72,5 +71,4 @@ sed -e "s%@Release\@%${gdb_rpm_release}%g" \
|
||||
-e "s%@gdb_version\@%${gdb_version}%g" \
|
||||
-e "s%@gdb_patch_version\@%${gdb_patch_version}%g" \
|
||||
-e "s%@extra_configure_arguments\@%${extra_configure_arguments}%g" \
|
||||
-e "s%@exe_ext\@%${exe_ext}%g" \
|
||||
< ${specsrc}
|
||||
|
||||
@@ -20,8 +20,8 @@ This is the GNU gdb for RTEMS targetting @target_alias@.
|
||||
%doc %{_prefix}/man/man1/@target_alias@-run.1*
|
||||
|
||||
%dir %{_prefix}/bin
|
||||
%{_prefix}/bin/@target_alias@-gdb@exe_ext@
|
||||
%{_prefix}/bin/@target_alias@-run@exe_ext@
|
||||
%{_prefix}/bin/@target_alias@-gdb%{_exeext}
|
||||
%{_prefix}/bin/@target_alias@-run%{_exeext}
|
||||
%if "@target_alias@" == "sparc-rtems"
|
||||
%{_prefix}/bin/@target_alias@-sis@exe_ext@
|
||||
%{_prefix}/bin/@target_alias@-sis%{_exeext}
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user