From: SeokYeon Hwang Date: Mon, 11 May 2015 08:25:23 +0000 (+0900) Subject: build: did not build codec plugin when a brillcodec is not built X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~449 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3679e01fe5c4466c45682ce11b5c10649f0ea309;p=sdk%2Femulator%2Fqemu.git build: did not build codec plugin when a brillcodec is not built Change-Id: I449cd738529000ac64ed2fd4ead9252c145cae65 (cherry picked from commit 9017d51d7ced1f68f5fe9c4f6b769503655187cd) --- diff --git a/tizen/src/hw/pci/Makefile.objs b/tizen/src/hw/pci/Makefile.objs index e618731d99..ac48ef9da2 100644 --- a/tizen/src/hw/pci/Makefile.objs +++ b/tizen/src/hw/pci/Makefile.objs @@ -3,8 +3,10 @@ obj-$(CONFIG_LIBAV) += maru_brillcodec.o ifdef CONFIG_LINUX LIBS += -ldl endif +ifdef CONFIG_LIBAV obj-$(CONFIG_DXVA2) += maru_dxva2_plugin.o obj-$(CONFIG_VAAPI) += maru_brillcodec_vaapi.o +endif obj-y += maru_brightness.o @@ -29,9 +31,11 @@ maru_brillcodec_device.o-cflags := $(LIBAV_CFLAGS) maru_brillcodec_device.o-libs := $(LIBAV_LIBS) maru_brillcodec.o-cflags := $(LIBAV_CFLAGS) maru_brillcodec.o-libs := $(LIBAV_LIBS) +ifdef CONFIG_LIBAV ifdef CONFIG_DXVA2 maru_dxva2_plugin.o-cflags := $(LIBAV_CFLAGS) endif ifdef CONFIG_VAAPI maru_brillcodec_vaapi.o-cflags := $(LIBAV_CFLAGS) $(LIBVA_CFLAGS) endif +endif