18 lines
489 B
Makefile
18 lines
489 B
Makefile
#
|
|
# Makefile for industrial I/O pressure drivers
|
|
#
|
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
obj-$(CONFIG_NVI_BMPX80) += nvi-bmpX80.o
|
|
ifneq (,$(filter $(CONFIG_NVI_MPU_IIO),y m))
|
|
CFLAGS_nvi_bmpX80.o += -DBMP_NVI_MPU_SUPPORT=1
|
|
endif
|
|
ifneq (,$(filter $(CONFIG_NVI_MPU_INPUT),y m))
|
|
CFLAGS_nvi_bmpX80.o += -DBMP_NVI_MPU_SUPPORT=1
|
|
endif
|
|
ifneq (,$(filter $(CONFIG_NVI_MPU_RELAY),y m))
|
|
CFLAGS_nvi_bmpX80.o += -DBMP_NVI_MPU_SUPPORT=1
|
|
endif
|
|
nvi-bmpX80-objs += nvi_bmpX80.o
|