This enables support for build testing on Travis CI, checking Linux and Mac OS 
X platforms. To obtain an initial successful build, a number of adjustments and 
fixes is required. The series strives to provide a mimimal set of patches to 
achieve this goal.

Patch 1/5 provides the Travis CI configuration for Linux and Mac OS X. If 
you're curious for an example, take a peek at 
https://travis-ci.org/n1tehawk/sunxi-tools/branches . Travis CI is tightly 
integrated with GitHub and would automatically track branches and pull requests 
on the sunxi-tools repository.

Patch 2/5 is essentially a rework (v2) of my previous "fel: Introduce helper 
function for reporting libusb errors" submission 
(https://groups.google.com/forum/#!topic/linux-sunxi/l77glCWIMD4). That patch 
was erroneous and basically disabled libusb_strerror() usage for each and every 
libusb out there - regardless of whether it provides this function or not. It's 
now properly fixed by actually testing the libusb API version.

Patch 3/5 and 4/5 arrange for a proper and complete set of endian conversion 
functions on both Linux and Mac OS X.

Patch 5/5 fixes nand-part.c not to attempt a Linux-specific ioctl() on other 
platforms.

Regards, B. Nortmann


Bernhard Nortmann (5):
  Add Travis CI configuration file
  fel: Introduce helper function for reporting libusb errors
  Replace endian_compat.h with portable_endian.h
  Have portable_endian.h properly expose all functions
  nand-part: Avoid Linux-only ioctl() on other platforms

 .travis.yml               |  26 ++++++++++
 Makefile                  |   9 +++-
 fel.c                     |  51 ++++++++++----------
 include/endian_compat.h   |  36 --------------
 include/portable_endian.h | 118 ++++++++++++++++++++++++++++++++++++++++++++++
 nand-part.c               |  10 +++-
 phoenix_info.c            |   7 +--
 pio.c                     |   7 +--
 8 files changed, 188 insertions(+), 76 deletions(-)
 create mode 100644 .travis.yml
 delete mode 100644 include/endian_compat.h
 create mode 100755 include/portable_endian.h

-- 
2.4.10

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to