mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-10-30 07:38:52 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
41
drivers/gud/gud-exynos8890/Makefile
Normal file
41
drivers/gud/gud-exynos8890/Makefile
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#
|
||||
# Makefile for the kernel mobicore drivers
|
||||
#
|
||||
GUD_ROOT_FOLDER := drivers/gud/gud-exynos8890
|
||||
# add our modules to kernel.
|
||||
obj-$(CONFIG_MOBICORE_API) += mcKernelApi.o
|
||||
obj-$(CONFIG_MOBICORE_DRIVER) += mcDrvModule.o
|
||||
|
||||
mcDrvModule-objs := MobiCoreDriver/logging.o \
|
||||
MobiCoreDriver/ops.o \
|
||||
MobiCoreDriver/mem.o \
|
||||
MobiCoreDriver/api.o \
|
||||
MobiCoreDriver/pm.o \
|
||||
MobiCoreDriver/main.o
|
||||
|
||||
mcKernelApi-objs := MobiCoreKernelApi/main.o \
|
||||
MobiCoreKernelApi/clientlib.o \
|
||||
MobiCoreKernelApi/device.o \
|
||||
MobiCoreKernelApi/session.o \
|
||||
MobiCoreKernelApi/connection.o
|
||||
|
||||
# Release mode by default
|
||||
ccflags-y := -DNDEBUG
|
||||
ccflags-y += -Wno-declaration-after-statement
|
||||
ccflags-y += -DMC_NETLINK_COMPAT_V37
|
||||
|
||||
ccflags-$(CONFIG_MOBICORE_DEBUG) += -DDEBUG
|
||||
ccflags-$(CONFIG_MOBICORE_VERBOSE) += -DDEBUG_VERBOSE
|
||||
|
||||
# Choose one platform from the folder
|
||||
MOBICORE_PLATFORM := $(shell (ls -1 $(GUD_ROOT_FOLDER)/MobiCoreDriver/platforms | tail -1) )
|
||||
# Use the available platform folder
|
||||
ccflags-y += -I$(GUD_ROOT_FOLDER)/MobiCoreDriver/platforms/$(MOBICORE_PLATFORM)
|
||||
# MobiCore Driver includes
|
||||
ccflags-y += -I$(GUD_ROOT_FOLDER)/MobiCoreDriver/public
|
||||
# MobiCore KernelApi required includes
|
||||
ccflags-y += -I$(GUD_ROOT_FOLDER)/MobiCoreKernelApi/include \
|
||||
-I$(GUD_ROOT_FOLDER)/MobiCoreKernelApi/public
|
||||
|
||||
obj-$(CONFIG_SECURE_OS_CONTROL) += sec-os-ctrl/
|
||||
obj-$(CONFIG_SECURE_OS_BOOSTER_API) += sec-os-booster/
|
||||
Loading…
Add table
Add a link
Reference in a new issue