summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/gdb.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-01-31 05:32:20 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-01-31 05:32:20 +0000
commit9c8ee7b2bdb94d4a5288203a448f685c700d50f0 (patch)
treef0afbe3cf6a309ed7fd8184bb02f2191f84a3bb7 /scripts/gdb/gdb.add
parent2003-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-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/gdb.add')
-rw-r--r--scripts/gdb/gdb.add21
1 files changed, 2 insertions, 19 deletions
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