mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-02-15 00:18:03 +00:00
20 lines
502 B
Makefile
20 lines
502 B
Makefile
SSC_BUILD_FOLDER=$(srctree)/drivers/misc/mediatek/ssc
|
|
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/tinysys_scmi/
|
|
|
|
# include gpu header
|
|
ccflags-y += -I${srctree}/drivers/gpu/mediatek/gpufreq/v2/include/
|
|
|
|
ccflags-y += -I$(SSC_BUILD_FOLDER)/inc/
|
|
|
|
SSC_MODULE += ssc_module.o
|
|
|
|
#Generic build
|
|
SSC_SRC = $(SSC_MODULE)
|
|
obj-$(CONFIG_MTK_SSC_MODULE) = mtk-ssc.o
|
|
mtk-ssc-objs += $(SSC_SRC)
|
|
|
|
#Generic subdir build
|
|
obj-$(CONFIG_MTK_SSC_MODULE) += debug/
|