xiuos/Ubiquitous/XiZi_IIoT/board/xishutong-arm32/third_party_driver/Makefile

48 lines
716 B
Makefile

SRC_DIR += common
ifeq ($(CONFIG_BSP_USING_UART),y)
SRC_DIR += usart
endif
ifeq ($(CONFIG_BSP_USING_ADC),y)
SRC_DIR += adc
endif
ifeq ($(CONFIG_BSP_USING_DAC),y)
SRC_DIR += dac
endif
ifeq ($(CONFIG_BSP_USING_CAN),y)
SRC_DIR += can
endif
ifeq ($(CONFIG_BSP_USING_GPIO),y)
SRC_DIR += gpio
endif
ifeq ($(CONFIG_BSP_USING_ETHERNET),y)
SRC_DIR += ethernet
endif
ifeq ($(CONFIG_BSP_USING_W5500),y)
SRC_DIR += ethernet_wiz
endif
ifeq ($(CONFIG_BSP_USING_SDIO),y)
SRC_DIR += sdio
endif
ifeq ($(CONFIG_BSP_USING_USB),y)
SRC_DIR += usb
endif
ifeq ($(CONFIG_BSP_USING_SPI),y)
SRC_DIR += spi
endif
ifeq ($(CONFIG_BSP_USING_EXTSDRAM),y)
SRC_DIR += sdram
endif
include $(KERNEL_ROOT)/compiler.mk