M7350/kernel/drivers/gud/MobiCoreDriver/Makefile

34 lines
538 B
Makefile
Raw Normal View History

2024-09-09 08:57:42 +00:00
#
# Makefile for the <t-base core driver
#
GUD_ROOT_FOLDER := drivers/gud/
# add our modules to kernel.
obj-$(CONFIG_MOBICORE_DRIVER) += mcDrvModule.o
mcDrvModule-y := \
admin.o \
api.o \
client.o \
clientlib.o \
clock.o \
fastcall.o \
logging.o \
main.o \
mcp.o \
mmu.o \
pm.o \
scheduler.o \
session.o
# Release mode by default
ccflags-y += -DNDEBUG
ccflags-y += -Wno-declaration-after-statement
ccflags-$(CONFIG_MOBICORE_DEBUG) += -DDEBUG
# MobiCore Driver includes
ccflags-y += -I$(GUD_ROOT_FOLDER)/MobiCoreDriver