Forráskód Böngészése

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 éve
szülő
commit
136755f181
1 módosított fájl, 2 hozzáadás és 0 törlés
  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