Change-Id: I449cd738529000ac64ed2fd4ead9252c145cae65
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
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