#
# Copyright (C) 2015 MediaTek Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#

include $(KERNEL_MIXED_BUILD_PATH)/Kbuild.common

ifdef CONFIG_MTK_CMDQ_MBOX_EXT
subdir-ccflags-y += -I$(KERNEL_MIXED_BUILD_PATH)/drivers/misc/mediatek/cmdq/
subdir-ccflags-y += -I$(KERNEL_MIXED_BUILD_PATH)/drivers/misc/mediatek/cmdq/mailbox/
endif

obj-$(CONFIG_MTK_CMDQ_MBOX_EXT)   += mailbox/

