diff options
author | Chris "Koying" Browet <cbro@semperpax.com> | 2014-10-27 16:20:11 +0100 |
---|---|---|
committer | Chris "Koying" Browet <cbro@semperpax.com> | 2014-11-02 14:59:40 +0100 |
commit | 614e945bf784fd352661fd13de8a3cab70658c95 (patch) | |
tree | 50e3f0f51ac949690c56ba6995b02cc423813d1f /tools | |
parent | f3a89c86faed962ce54a557f5a7bc9ef673ec7cd (diff) |
FIX: [droid] allow to build without debugging and pickup jenkins configuration
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/xbmc/Makefile | 13 |
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) |