diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-01-31 05:32:20 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-01-31 05:32:20 +0000 |
commit | 9c8ee7b2bdb94d4a5288203a448f685c700d50f0 (patch) | |
tree | f0afbe3cf6a309ed7fd8184bb02f2191f84a3bb7 /scripts/gdb | |
parent | 2003-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-9c8ee7b2bdb94d4a5288203a448f685c700d50f0.tar.bz2 |
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.
Diffstat (limited to 'scripts/gdb')
-rw-r--r-- | scripts/gdb/Makefile.am | 6 | ||||
-rw-r--r-- | scripts/gdb/gdb.add | 21 | ||||
-rw-r--r-- | scripts/gdb/mkspec.in | 2 | ||||
-rw-r--r-- | scripts/gdb/target-gdb.add | 6 |
4 files changed, 10 insertions, 25 deletions
diff --git a/scripts/gdb/Makefile.am b/scripts/gdb/Makefile.am index 20b581b50d..a33bb87361 100644 --- a/scripts/gdb/Makefile.am +++ b/scripts/gdb/Makefile.am @@ -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 diff --git a/scripts/gdb/gdb.add b/scripts/gdb/gdb.add index 3e2ef9ec40..ae47d1e349 100644 --- a/scripts/gdb/gdb.add +++ b/scripts/gdb/gdb.add @@ -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 diff --git a/scripts/gdb/mkspec.in b/scripts/gdb/mkspec.in index e3b17339ac..bb4e85204d 100644 --- a/scripts/gdb/mkspec.in +++ b/scripts/gdb/mkspec.in @@ -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} diff --git a/scripts/gdb/target-gdb.add b/scripts/gdb/target-gdb.add index 294fbd1d9e..7d3de235f4 100644 --- a/scripts/gdb/target-gdb.add +++ b/scripts/gdb/target-gdb.add @@ -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 |