From 614e945bf784fd352661fd13de8a3cab70658c95 Mon Sep 17 00:00:00 2001 From: "Chris \"Koying\" Browet" Date: Mon, 27 Oct 2014 16:20:11 +0100 Subject: FIX: [droid] allow to build without debugging and pickup jenkins configuration --- tools/depends/target/xbmc/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'tools') 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) -- cgit v1.2.3