diff options
author | Shane Volpe <shanevolpe@gmail.com> | 2007-02-07 20:28:39 +0000 |
---|---|---|
committer | Cliff Brake <cbrake@bec-systems.com> | 2007-02-07 20:28:39 +0000 |
commit | 085c633b3088b9091308f8e09b70c4d7f0f21ae2 (patch) | |
tree | 8fea38aed241e5ed5c5237a5de19b2e93c3eaa2f /packages/gdb/files/sim-install-makefile-common.patch | |
parent | 24a15db7f3fcc37d4aab5a5f42a965c18c357ec5 (diff) |
gdb-cross: fix issue where patch has already been applied to 6.6
gdb-cross version 6.6 fails the patch process because the sim-install.patch
tries to apply patches to Makefile-common which have already been merged into
gdm mainstream.
Attached is a patch for OE that seperates the two patches in sim-install.patch
so that gdb-cross 6.6 only applies the first one while gdb-cross 6.3 (which
also uses the sim-install.patch applies both.
Diffstat (limited to 'packages/gdb/files/sim-install-makefile-common.patch')
-rw-r--r-- | packages/gdb/files/sim-install-makefile-common.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/gdb/files/sim-install-makefile-common.patch b/packages/gdb/files/sim-install-makefile-common.patch new file mode 100644 index 0000000000..24550edc6c --- /dev/null +++ b/packages/gdb/files/sim-install-makefile-common.patch @@ -0,0 +1,22 @@ +--- gdb-6.1/sim/common/Make-common.in~sim-install.patch 2003-09-08 18:24:59.000000000 +0100 ++++ gdb-6.1/sim/common/Make-common.in 2004-07-22 17:56:18.947423032 +0100 +@@ -581,14 +581,14 @@ + + install-common: installdirs + n=`echo run | sed '$(program_transform_name)'`; \ +- $(INSTALL_PROGRAM) run$(EXEEXT) $(bindir)/$$n$(EXEEXT) ++ $(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) + n=`echo libsim.a | sed s/libsim.a/lib$(target_alias)-sim.a/`; \ +- $(INSTALL_DATA) libsim.a $(libdir)/$$n ; \ +- ( cd $(libdir) ; $(RANLIB) $$n ) ++ $(INSTALL_DATA) libsim.a $(DESTDIR)$(libdir)/$$n ; \ ++ ( cd $(DESTDIR)$(libdir) ; $(RANLIB) $$n ) + + installdirs: +- $(SHELL) $(srcdir)/../../mkinstalldirs $(bindir) +- $(SHELL) $(srcdir)/../../mkinstalldirs $(libdir) ++ $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir) ++ $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir) + + check: + cd ../testsuite && $(MAKE) check RUNTESTFLAGS="$(RUNTESTFLAGS)" |