浏览代码

mm-drivers: sync: resolve compilation of sync fence driver

Sync fence driver setup only compiles if the CONFIG flag for
sync driver is set, however, this requires config files of the
parent folder to be included, which currently is not happening.
Resolve this problem by including the parent mm-drivers
config files.

Change-Id: I812612b71003ed007d60c046dcef5bcbe09f6e7c
Signed-off-by: Ingrid Gallardo <[email protected]>
Ingrid Gallardo 3 年之前
父节点
当前提交
136755f181
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      sync_fence/Kbuild

+ 2 - 0
sync_fence/Kbuild

@@ -2,6 +2,8 @@
 
 KDIR := $(TOP)/kernel_platform/msm-kernel
 LINUXINCLUDE    += -I$(SYNC_FENCE_ROOT)sync_fence/include/
+include $(SYNC_FENCE_ROOT)/config/kalamammdrivers.conf
+LINUXINCLUDE += -include $(SYNC_FENCE_ROOT)/config/kalamammdriversconf.h
 
 ifdef CONFIG_QCOM_SPEC_SYNC
 obj-m += sync_fence.o