Commit Graph

4 Commits

Author SHA1 Message Date
Peter Korsgaard
ba2b722580 sp-oops-extract: correct dos/unix newlines in stdint patch
Fixes:
http://autobuild.buildroot.net/results/f72/f72fc7189cbc7191f1b75a8ebd1fc319650c8e2e/

The source code uses dos newlines, so the patch has to do so as well,
otherwise apply-patches.sh fails to apply the patch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-06 09:59:03 +01:00
Doug Kehn
f7d5420144 package/sp-oops-extract: consolidate use of stdint types
Change u_int*_t to uint*_t for compatibility, as the latter is in C99:

https://stackoverflow.com/questions/5090737/datatypes-used-in-c

Fixes:
http://autobuild.buildroot.net/results/c649822aa129d56e5462a4887b13811340564453/

This patch has also been submitted upstream (ptxdist@pengutronix.de).

Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 22:23:56 +01:00
Luca Ceresoli
7b0e757fb8 package: Remove trailing slash from all package site URLs
The recommended form is without the trailing slash, and will become
mandatory in a coming commit.

This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk
to avoid double slashes in download URLs, like
"https://mosh.mit.edu//mosh-1.2.5.tar.gz".
                     ^^

Note: this work has already been done in b0b9606530 a few
months ago and earlier in c7f4b96471 and 4a9eb20de8,
but no check has been added at that time to avoid new slashes to slip
in, and so they did. This time a patch will follow immediately to
prevent future mistakes from being unnoticed.

Mass-replaced with the following command:

  git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||'

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-30 12:46:42 +02:00
Doug Kehn
22212f15e4 package/sp-oops-extract: new package
A tool for extracting OOPS/panic logs from MTD.

Tested using arm-buildroot-linux-gnueabihf toolchain.

[Thomas:
 - use sp-oops-extract instead of sp_oops_extract as the Config.in
   prompt and in the .mk file comment
 - remove @ in front of the build and install commands.
 - use $(TARGET_CONFIGURE_OPTS) instead of manually passing CC, AR,
   LD, CFLAGS and LDFLAGS.]

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 23:12:48 +02:00