diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-06-10 14:18:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-12-19 15:55:28 +0100 |
commit | 532efb04fb79bb0f28e049f6d760a27f3d95703f (patch) | |
tree | ff86f3074d51df4d964f0e60f7b2ca0c3d27d38f /patches | |
parent | 0746f2056072aa60ef2990c35f2dc04fd836d54d (diff) | |
download | OSELAS.Toolchain-532efb04fb79bb0f28e049f6d760a27f3d95703f.tar.gz OSELAS.Toolchain-532efb04fb79bb0f28e049f6d760a27f3d95703f.tar.xz |
gdb-7.6.1 patches
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/gdb-7.6.1/0001-sim-ppc-remove-bogus-dependency.patch | 30 | ||||
-rw-r--r-- | patches/gdb-7.6.1/series | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/patches/gdb-7.6.1/0001-sim-ppc-remove-bogus-dependency.patch b/patches/gdb-7.6.1/0001-sim-ppc-remove-bogus-dependency.patch new file mode 100644 index 0000000..123dd57 --- /dev/null +++ b/patches/gdb-7.6.1/0001-sim-ppc-remove-bogus-dependency.patch @@ -0,0 +1,30 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Mon, 31 Oct 2011 14:09:45 +0100 +Subject: [PATCH] sim/ppc: remove bogus dependency + +Otherwise compiling may fail for PPC with: + +make[4]: *** No rule to make target `-lz', needed by `psim'. Stop. + +The problem is that while make can resolve '-lz' as a dependency, this only +works if zlib is in the default search path or VPATH. sysroot-host/lib is +not searched. As a result '-lz' may not be resolved. + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + sim/ppc/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in +index d7d6689..3081be1 100644 +--- a/sim/ppc/Makefile.in ++++ b/sim/ppc/Makefile.in +@@ -550,7 +550,7 @@ PACKAGE_SRC = @sim_pk_src@ + PACKAGE_OBJ = @sim_pk_obj@ + + +-psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBS) $(LIBINTL_DEP) ++psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP) + $(CC) $(CFLAGS) $(SIM_CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS) + + run: psim diff --git a/patches/gdb-7.6.1/series b/patches/gdb-7.6.1/series new file mode 100644 index 0000000..997b0aa --- /dev/null +++ b/patches/gdb-7.6.1/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-sim-ppc-remove-bogus-dependency.patch +# 0c022cd0da9d4e74ed54e12281eeadc2 - git-ptx-patches magic |