# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
CONFIG_I2S=y
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
# CONFIG_I2S is not set
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
# CONFIG_I2S is not set
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
# CONFIG_I2S is not set
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
# CONFIG_I2S is not set
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
# CONFIG_I2S is not set
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
# CONFIG_I2S is not set
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
# CONFIG_I2S is not set
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
# CONFIG_SPI_BITBANG is not set
CONFIG_GPIO=y
# CONFIG_I2S is not set
-# CONFIG_BCH is not set
+CONFIG_BCH=y
CONFIG_RTC=y
CONFIG_RTC_DATETIME=y
# CONFIG_RTC_ALARM is not set
that performed by loop.c. See include/tinyara/fs/fs.h for
registration information.
-if BCH
-endif # BCH
-
menuconfig RTC
bool "RTC Driver Support"
default n
# Include BCH driver
+ifeq ($(CONFIG_BCH),y)
CSRCS += bchlib_setup.c bchlib_teardown.c bchlib_read.c bchlib_write.c \
bchlib_cache.c bchlib_sem.c bchdev_register.c bchdev_unregister.c \
bchdev_driver.c
endif
endif
+endif
}
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && \
- !defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS)
+ !defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS) && defined(CONFIG_BCH)
/*
* If the inode is block driver, then we may return a character driver
* proxy for the block driver. block_proxy() will instantiate a BCH