소스 검색

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