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.
30 lines
852 B
30 lines
852 B
###############################################################################
|
|
# export variables
|
|
###############################################################################
|
|
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
|
|
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
|
|
endif
|
|
|
|
ccflags-y += \
|
|
-Idrivers/drv/ioctl_inc/generic \
|
|
-Idrivers/drv/ioctl_inc/audio \
|
|
-Idrivers/drv/ioctl_inc/aenc \
|
|
-Idrivers/drv/ext_inc/base \
|
|
-Idrivers/drv/ext_inc/osal \
|
|
-Idrivers/drv/ext_inc/common \
|
|
-Idrivers/drv/ext_inc/aenc \
|
|
-Idrivers/drv/ext_inc/adsp \
|
|
-Idrivers/drv/common/include
|
|
|
|
MODNAME := soc_aenc
|
|
|
|
ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y)
|
|
obj-y += $(MODNAME).o
|
|
else
|
|
obj-m += $(MODNAME).o
|
|
endif
|
|
|
|
$(MODNAME)-objs-y += drv_aenc.o
|
|
###############################################################################
|
|
$(MODNAME)-objs := $($(MODNAME)-objs-y)
|