diff options
author | Bernhard Walle <walle@corscience.de> | 2012-04-21 16:15:57 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-04-23 09:34:35 +0200 |
commit | 4f5e28a34f4304ab742a0a54a4fc6cc0f9300bcc (patch) | |
tree | 0c1919592702b63b834986c4bc4798ff788a4f96 /patches/sp-oops-extract-0.0.7 | |
parent | 6b518ec43670475e33528b198698ffebef487e75 (diff) | |
download | ptxdist-4f5e28a34f4304ab742a0a54a4fc6cc0f9300bcc.tar.gz ptxdist-4f5e28a34f4304ab742a0a54a4fc6cc0f9300bcc.tar.xz |
Add sp-oops-extract package
sp-oops-extract is a simple userspace program to extract kernel oopses
saved on raw MTD with the CONFIG_MTD_OOPS driver. See the comment in
Kconfig for more information on how to use the driver/the tool.
Signed-off-by: Bernhard Walle <walle@corscience.de>
[mol: add CFLAGS, CPPFLAGS and don't strip]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/sp-oops-extract-0.0.7')
-rw-r--r-- | patches/sp-oops-extract-0.0.7/0001-Make-the-Makefile-more-cross-compiler-friendly.patch | 19 | ||||
-rw-r--r-- | patches/sp-oops-extract-0.0.7/series | 4 |
2 files changed, 23 insertions, 0 deletions
diff --git a/patches/sp-oops-extract-0.0.7/0001-Make-the-Makefile-more-cross-compiler-friendly.patch b/patches/sp-oops-extract-0.0.7/0001-Make-the-Makefile-more-cross-compiler-friendly.patch new file mode 100644 index 000000000..02504d880 --- /dev/null +++ b/patches/sp-oops-extract-0.0.7/0001-Make-the-Makefile-more-cross-compiler-friendly.patch @@ -0,0 +1,19 @@ +From: Bernhard Walle <walle@corscience.de> +Date: Wed, 21 Mar 2012 15:55:06 +0100 +Subject: [PATCH] Make the Makefile more cross-compiler friendly + +Signed-off-by: Bernhard Walle <walle@corscience.de> +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile b/src/Makefile +index cf5b550..e05eb1f 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -9,4 +9,4 @@ distclean: clean + $(RM) $(TARGETS) + + sp-oops-extract: oopslog.c +- gcc -Wall -s -o $@ $^ ++ $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -Wall -o $@ $^ diff --git a/patches/sp-oops-extract-0.0.7/series b/patches/sp-oops-extract-0.0.7/series new file mode 100644 index 000000000..6053a643a --- /dev/null +++ b/patches/sp-oops-extract-0.0.7/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-Make-the-Makefile-more-cross-compiler-friendly.patch +# 1e23689ed7181ffae1913ee9c0c2db54 - git-ptx-patches magic |