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.

23 lines
699 B

ccflags-y += -I$(srctree)/drivers/mmc/host
ccflags-y += -I$(srctree)/drivers/mmc/core
ccflags-y += -I$(srctree)/drivers/drv/ioctl_inc/generic/
ccflags-y += -I$(srctree)/drivers/drv/ext_inc/dftevent/
ifeq ($(CONFIG_SOCT_DRV_BUILD_KO),y)
obj-m += sdhcihl.o
else
obj-$(CONFIG_MMC_SDHCI_SOCT) += sdhcihl.o
obj-$(CONFIG_MMC_SDHCI_RESERVED19) += sdhcihl.o
obj-$(CONFIG_MMC_SDHCI_HI3751V811) += sdhcihl.o
endif
ifneq ($(CONFIG_MMC_SDHCI_SOCT),)
sdhcihl-objs := sdhci_hl.o sdhci_reserved13.o sdhci_fmea.o
else
ifneq ($(findstring $(CONFIG_SOCT_CHIP_REVERSION), "hi3751v811_c"),)
sdhcihl-objs := sdhci_hl.o sdhci_hi3751v811_c.o sdhci_fmea.o
else
sdhcihl-objs := sdhci_reserved19.o sdhci_fmea.o
endif
endif