Change-Id: Ib996842a7d9a4cdf1c9282ef0d78401b09d9533c
#
# Makefile for the kernel mobicore drivers
#
-GUD_ROOT_FOLDER := drivers/gud/gud-exynos7580
+GUD_ROOT_FOLDER := $(srctree)/drivers/gud/gud-exynos7580
# add our modules to kernel.
obj-$(CONFIG_MOBICORE_API) += mcKernelApi.o
obj-$(CONFIG_MOBICORE_DRIVER) += mcDrvModule.o
obj-$(CONFIG_SECURE_OS_BOOSTER_API) += sec_os_booster.o
# MobiCore kernel driver path
-GUD_ROOT_FOLDER := drivers/gud/gud-exynos7580
+GUD_ROOT_FOLDER := $(srctree)/drivers/gud/gud-exynos7580
# Choose one platform from the folder
MOBICORE_PLATFORM := $(shell (ls -1 $(GUD_ROOT_FOLDER)/MobiCoreDriver/platforms | tail -1) )
obj-$(CONFIG_SECURE_OS_CONTROL) += sec_os_ctrl.o
# MobiCore kernel driver path
-GUD_ROOT_FOLDER := drivers/gud/gud-exynos7580
+GUD_ROOT_FOLDER := $(srctree)/drivers/gud/gud-exynos7580
# Includes MobiCore kernel driver
ccflags-y += -I$(GUD_ROOT_FOLDER)/MobiCoreDriver