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.
28 lines
886 B
28 lines
886 B
4 months ago
|
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
|
||
|
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
|
||
|
endif
|
||
|
|
||
|
ccflags-y += -Idrivers/drv/common/include
|
||
|
ccflags-y += -Idrivers/drv/avplay
|
||
|
ccflags-y += -Idrivers/drv/ioctl_inc/generic
|
||
|
ccflags-y += -Idrivers/drv/ioctl_inc/avplay
|
||
|
ccflags-y += -Idrivers/drv/ioctl_inc/vdec
|
||
|
ccflags-y += -Idrivers/drv/ioctl_inc/video
|
||
|
ccflags-y += -Idrivers/drv/ioctl_inc/common
|
||
|
ccflags-y += -Idrivers/drv/ioctl_inc/demux
|
||
|
ccflags-y += -Idrivers/drv/ext_inc/base
|
||
|
ccflags-y += -Idrivers/drv/ext_inc/common
|
||
|
ccflags-y += -Idrivers/drv/ext_inc/osal
|
||
|
ccflags-y += -Idrivers/drv/ext_inc/avplay
|
||
|
ccflags-y += -Idrivers/drv/ext_inc/vdec
|
||
|
|
||
|
MODNAME := soc_avplay
|
||
|
ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y)
|
||
|
obj-$(CONFIG_SOCT_AVPLAY_SUPPORT) += $(MODNAME).o
|
||
|
else
|
||
|
obj-m += $(MODNAME).o
|
||
|
endif
|
||
|
$(MODNAME)-objs-y += drv_avplay_intf.o
|
||
|
$(MODNAME)-objs-y += drv_avplay.o
|
||
|
|
||
|
$(MODNAME)-objs := $($(MODNAME)-objs-y)
|