[Commotion-admin] [commotion-android] Android makefiles have hardcoded version and tool paths (#21)

areynold notifications at github.com
Fri Oct 18 14:03:27 UTC 2013



external/Makefile has some hard-coded paths to tools under /opt, causing a build to fail if these paths don't exist. Similar for assumed API v9, when the current as of this writing is v10.

These tool paths and version expectations are not mentioned in the top-level README.md

# Android NDK setup
SDK_BASE ?= /opt/android-sdk
NDK_BASE ?=  /opt/android-ndk
NDK_PLATFORM_LEVEL ?= 9
SDK_PLATFORM_LEVEL ?= 9
NDK_SYSROOT=$(NDK_BASE)/platforms/android-$(NDK_PLATFORM_LEVEL)/arch-arm
SDK_PLATFORM=$(SDK_BASE)/platforms/android-$(SDK_PLATFORM_LEVEL)/
NDK_UNAME := $(shell uname -s | tr '[A-Z]' '[a-z]')
NDK_TOOLCHAIN=$(NDK_BASE)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$(NDK_UNAME)-x86

Likewise, similar hard-coded paths in these files too:
external/olsrd/make/Makefile.android
external/shell-fork/Makefile.android


(Was issue 458 on code.commotionwireless.net)

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotion-android/issues/21
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20131018/dacf3e37/attachment.html>


More information about the Commotion-admin mailing list