kernel_samsung_a34x-permissive/drivers/misc/mediatek/srclken_rc/Makefile
2024-04-28 15:49:01 +02:00

26 lines
516 B
Makefile
Executable file

PLAT_TOP = $(srctree)/drivers/misc/mediatek/include/mt-plat
ccflags-y += -I$(src)/src/ \
-I$(srctree)/include/ \
-I$(PLAT_TOP)/
ifeq ($(CONFIG_MTK_SRCLKEN_RC),y)
ccflags-y += -I$(src)/src/ \
-I$(srctree)/include/ \
-I$(CLKBUF_TOP)/ \
-I$(PLAT_TOP)/
obj-$(CONFIG_MTK_SRCLKEN_RC) += srclken.o
srclken-y += src/mtk-srclken-rc.o \
src/mtk-srclken-rc-hw.o \
mtk-srclken-bridge.o
else
ccflags-y += -I$(srctree)/include/ \
-I$(PLAT_TOP)/
obj-y += mtk-srclken-bridge.o
endif