Fix gud-exynos7580 driver when compiling in a separate output directory
authorDanny Wood <danwood76@gmail.com>
Thu, 11 Oct 2018 11:30:45 +0000 (12:30 +0100)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:08:01 +0000 (18:08 +0200)
Change-Id: Ib996842a7d9a4cdf1c9282ef0d78401b09d9533c

drivers/gud/gud-exynos7580/Makefile
drivers/gud/gud-exynos7580/sec-os-booster/Makefile
drivers/gud/gud-exynos7580/sec-os-ctrl/Makefile

index efbe969d91282bebb716b3f3767dc26a823d6fe4..d1c78a88120403cbc2392308f29a343d251e720d 100644 (file)
@@ -1,7 +1,7 @@
 #
 # 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
index e9e2cd2369392628e4a6718bf57cbdfa22a389b9..8d34d65db9a6fdffa9eac69efa95bf24a159891a 100644 (file)
@@ -4,7 +4,7 @@
 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) )
index c9f0414d0532225c9ecf3683615b5a46f990f97d..cc9d760eab1382a92aa078b83ca5f964649ef638 100644 (file)
@@ -4,7 +4,7 @@
 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