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.

20 lines
470 B

#===============================================================================
# export variables
#===============================================================================
ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),)
ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS)
endif
ifeq ($(CONFIG_SOCT_IR_TYPE_S2), y)
IR_DIR := ir_s2
endif
#ifeq ($(CFG_SOCT_IR_TYPE_LIRC),y)
#IR_DIR := lirc
#endif
ifeq ($(CONFIG_SOCT_DRV_BUILDIN),y)
obj-y += $(IR_DIR)/
else
obj-m += $(IR_DIR)/
endif