You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.3 KiB
40 lines
1.3 KiB
#===============================================================================
|
|
# export variables
|
|
#===============================================================================
|
|
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
|
|
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
|
|
endif
|
|
#===============================================================================
|
|
# local variables
|
|
#===============================================================================
|
|
PVR_VER := pvr_v2
|
|
|
|
ccflags-y += -Idrivers/drv/ioctl_inc/generic
|
|
ccflags-y += -Idrivers/drv/ioctl_inc/common
|
|
ccflags-y += -Idrivers/drv/ext_inc/base
|
|
ccflags-y += -Idrivers/drv/ext_inc/osal
|
|
ccflags-y += -Idrivers/drv/ext_inc/common
|
|
ccflags-y += -Idrivers/drv/ext_inc/pvr
|
|
ccflags-y += -Idrivers/drv/common/include
|
|
ccflags-y += -Idrivers/drv/pvr/include
|
|
ccflags-$(CONFIG_SOCT_TEE_SUPPORT) += -Iinclude/linux/huanglong/tee
|
|
ccflags-y += -fstack-protector-all
|
|
ccflags-y += -Werror
|
|
|
|
MOD_NAME := soc_pvr
|
|
|
|
ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y)
|
|
obj-y += $(MOD_NAME).o
|
|
else
|
|
obj-m += $(MOD_NAME).o
|
|
endif
|
|
|
|
$(MOD_NAME)-objs-y := drv_pvr_intf.o
|
|
$(MOD_NAME)-objs-$(CONFIG_SOCT_TEE_SUPPORT) += drv_pvr_tee_func.o
|
|
|
|
|
|
#===============================================================================
|
|
# rules
|
|
#===============================================================================
|
|
$(MOD_NAME)-objs := $($(MOD_NAME)-objs-y)
|