[tor-commits] [orbot/master] update Makefile with a few tweaks

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Jun 25 14:59:58 UTC 2015


commit d6ff4131db8d710e16de2d237e6208e2ec1cdd01
Author: Nathan Freitas <nathan at freitas.net>
Date:   Tue May 12 02:27:07 2015 -0400

    update Makefile with a few tweaks
---
 external/Makefile |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/external/Makefile b/external/Makefile
index 22af090..cd29195 100644
--- a/external/Makefile
+++ b/external/Makefile
@@ -24,10 +24,9 @@ endif
 # Android NDK setup
 NDK_BASE ?= /opt/android-ndk
 NDK_PLATFORM_LEVEL ?= 16
-NDK_TOOLCHAIN_VERSION=4.8
+NDK_TOOLCHAIN_VERSION=4.9
 APP_ABI ?= armeabi
-
-NDK_ABI := $(APP_ABI)
+NDK_ABI ?= $(APP_ABI)
 ifneq ($(filter arm%, $(APP_ABI)),)
   NDK_ABI := arm
 endif
@@ -198,7 +197,7 @@ iptables/Makefile:
 	cp config.guess iptables
 	cd iptables && \
  		CC="$(CC)" AR="$(AR)" RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) -I$(EXTERNAL_ROOT)/include" LDFLAGS="$(LDFLAGS)" \
-			./configure --host=$(HOST) --disable-shared --enable-static
+			./configure --host=$(HOST) --disable-shared --enable-static 
 
 iptables-build-stamp: iptables/Makefile
 	$(MAKE) -C iptables 
@@ -299,13 +298,10 @@ assets: tor polipo jtorctl iptables
 	install -d ../libs
 	install bin/jtorctl.jar ../libs
 	install -d ../assets/$(APP_ABI)
-##	-$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug 
 	-$(STRIP) bin/polipo
 	-zip ../assets/$(APP_ABI)/polipo.mp3 bin/polipo
-##	-$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/tor
 	-$(STRIP) bin/tor
 	-zip ../assets/$(APP_ABI)/tor.mp3 bin/tor
-##	-$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/xtables
 	-$(STRIP) bin/xtables
 	-zip ../assets/$(APP_ABI)/xtables.mp3 bin/xtables
 





More information about the tor-commits mailing list