aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartijn Kaijser <machine.sanctum@gmail.com>2014-11-07 22:38:19 +0100
committerMartijn Kaijser <machine.sanctum@gmail.com>2014-11-07 22:38:19 +0100
commit548eb6f7f3abba53842932bdbccb1e71e1bcc579 (patch)
tree92428889ef01ffe84693b3d7e194c9c403c775b1 /tools
parentdcdbe844fe680685e16de7ff31dabd5cfe608ea4 (diff)
parent614e945bf784fd352661fd13de8a3cab70658c95 (diff)
Merge pull request #5586 from koying/fixdroiddebug
FIX: [droid] allow to build without debugging and pickup jenkins configuration
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/xbmc/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/depends/target/xbmc/Makefile b/tools/depends/target/xbmc/Makefile
index ad531a0980..9b0263913d 100644
--- a/tools/depends/target/xbmc/Makefile
+++ b/tools/depends/target/xbmc/Makefile
@@ -10,20 +10,29 @@ export CFLAGS+=-O3
# configuration settings
CONFIGURE = cp -f $(CONFIG_SUB) $(CONFIG_GUESS) build-aux/ ;\
- ./configure --prefix=$(PREFIX)
+ ./configure --prefix=$(PREFIX) $(DEBUG)
ifeq ($(OS),android)
CONFIGURE += --enable-codec=libstagefright,amcodec
endif
+ifeq ($(Configuration),Release)
+DEBUG = --enable-debug=no
+endif
+
CONFIGURE += $(CONFIG_EXTRA)
all: $(SOURCE)/lib$(APP_NAME).so
+release: DEBUG=--enable-debug=no
+release: $(SOURCE)/lib$(APP_NAME).so
+
+debug: DEBUG=--enable-debug=yes
+debug: $(SOURCE)/lib$(APP_NAME).so
$(SOURCE)/lib$(APP_NAME).so:
cd $(SOURCE); BOOTSTRAP_FROM_DEPENDS=yes ./bootstrap
- cd $(SOURCE); $(CONFIGURE)
+ cd $(SOURCE); echo $(CONFIGURE)
../../Makefile.include:
$(error Please run configure)