Skip to content

Commit

Permalink
Android: Build for all Android architectures
Browse files Browse the repository at this point in the history
* Don't limit support to ARM only (adds MIPS support)
* Also add a workaround for a MIPS NDK linker bug
* Also add a gitignore entry required to run bootstrap.sh on OS X
* Closes #134
  • Loading branch information
adfernandes authored and pbatard committed Dec 28, 2013
1 parent 805cc3e commit 650e225
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ Release
*.patch
*~
*.orig
.dirstamp
7 changes: 6 additions & 1 deletion android/jni/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#

APP_ABI := armeabi armeabi-v7a x86
APP_ABI := all

# Workaround for MIPS toolchain linker being unable to find liblog dependency
# of shared object in NDK versions at least up to r9.
#
APP_LDFLAGS := -llog
2 changes: 1 addition & 1 deletion libusb/version_nano.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define LIBUSB_NANO 10853
#define LIBUSB_NANO 10854

0 comments on commit 650e225

Please sign in to comment.