ifeq ($(KERNEL_MIXED_BUILD_SUPPORT),true)
include $(KERNEL_MIXED_BUILD_PATH)/Kbuild.common
endif

obj-m := mtk-es-buf-mgr.o
mtk-es-buf-mgr-objs := mtk_espool.o

subdir-ccflags-y += -Werror

ifeq ($(KERNEL_MIXED_BUILD_SUPPORT),true)
ccflags-y += -I$(KERNEL_MIXED_BUILD_PATH)/drivers/iommu/mtk_iommu_dtv/
else
ccflags-y += -I$(srctree)/drivers/iommu/mtk_iommu_dtv/
endif

