From 16a82e1897cdd304d43b3b0c4a6e33ccef45400a Mon Sep 17 00:00:00 2001 From: Ansa89 Date: Sun, 6 Jul 2014 19:57:08 +0200 Subject: [PATCH] Add option to disable audio support --- build/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/Makefile b/build/Makefile index 4d98173..0014392 100644 --- a/build/Makefile +++ b/build/Makefile @@ -54,7 +54,8 @@ ifneq ($(filter arm%, $(UNAME_M)),) -include $(CFG_DIR)/arm.mk endif -# Check if we can build audio +# Check if we want/can build audio +ifneq ($(DISABLE_AV), 1) CHECK_AUDIO_LIBS = $(shell pkg-config $(AUDIO_LIBS) || echo -n "error") ifneq ($(CHECK_AUDIO_LIBS), error) LIBS += $(AUDIO_LIBS) @@ -68,6 +69,7 @@ $(warning WARNING -- You need these libraries for audio support) $(warning WARNING -- $(MISSING_AUDIO_LIBS)) endif endif +endif # Check if we can build Toxic CHECK_LIBS = $(shell pkg-config $(LIBS) || echo -n "error")