1uart_srcs := uart 2adc_srcs := adc 3tsensor_srcs := tsensor 4CCFLAGS += -Werror -fsigned-char 5CCFLAGS += -I$(MAIN_TOPDIR)/platform/drivers/dma \ 6 -I$(MAIN_TOPDIR)/platform/drivers/flash 7ifeq ($(CONFIG_I2C_SUPPORT), y) 8 i2c_srcs += i2c 9endif 10ifeq ($(CONFIG_SPI_SUPPORT), y) 11 spi_srcs += spi 12endif 13ifeq ($(CONFIG_PWM_SUPPORT), y) 14 pwm_srcs += pwm 15endif 16 17