ソースを参照

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
 KDIR := $(TOP)/kernel_platform/msm-kernel
 LINUXINCLUDE    += -I$(SYNC_FENCE_ROOT)sync_fence/include/
 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
 ifdef CONFIG_QCOM_SPEC_SYNC
 obj-m += sync_fence.o
 obj-m += sync_fence.o