mm/circbuf: Remove MM_CIRCBUF option from Kconfig

since the linker can remove the unused object file from the final image

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-06 00:18:52 +08:00 committed by Alan Carvalho de Assis
parent bcafc77cf8
commit a446b5816f
15 changed files with 0 additions and 22 deletions

View File

@ -25,7 +25,6 @@ CONFIG_DEFAULT_SMALL=y
CONFIG_FS_LITTLEFS=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_INIT_STACKSIZE=1536
CONFIG_MM_CIRCBUF=y
CONFIG_MM_SMALL=y
CONFIG_MTD=y
CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6

View File

@ -52,7 +52,6 @@ CONFIG_INTELHEX_BINARY=y
CONFIG_IOEXPANDER=y
CONFIG_IOEXPANDER_MULTIPIN=y
CONFIG_LIBC_EXECFUNCS=y
CONFIG_MM_CIRCBUF=y
CONFIG_MM_SMALL=y
CONFIG_MTD=y
CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6

View File

@ -37,7 +37,6 @@ CONFIG_INTELHEX_BINARY=y
CONFIG_LIBM=y
CONFIG_MCUBOOT_BOOTLOADER=y
CONFIG_MCUBOOT_VERSION="414ac87cfd8d9cedeb781f812ad6f5072e6d8a39"
CONFIG_MM_CIRCBUF=y
CONFIG_MM_IOB=y
CONFIG_MM_REGIONS=4
CONFIG_NSH_BUILTIN_APPS=y

View File

@ -48,7 +48,6 @@ CONFIG_LIBC_PERROR_STDOUT=y
CONFIG_LIBC_STRERROR=y
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MM_CIRCBUF=y
CONFIG_MM_IOB=y
CONFIG_MPFS_IHC_CLIENT=y
CONFIG_MPFS_IHC_LINUX_ON_HART4=0

View File

@ -48,7 +48,6 @@ CONFIG_LIBC_PERROR_STDOUT=y
CONFIG_LIBC_STRERROR=y
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MM_CIRCBUF=y
CONFIG_MM_IOB=y
CONFIG_MPFS_IHC_CLIENT=y
CONFIG_MPFS_IHC_LINUX_ON_HART3=0

View File

@ -62,7 +62,6 @@ CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y
CONFIG_MMCSD_SDIO=y
CONFIG_MM_CIRCBUF=y
CONFIG_MM_IOB=y
CONFIG_MPFS_EMMCSD=y
CONFIG_MPFS_UART2=y

View File

@ -71,7 +71,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_INTELHEX_BINARY=y
CONFIG_IOB_NBUFFERS=24
CONFIG_IOB_THROTTLE=0
CONFIG_MM_CIRCBUF=y
CONFIG_MM_REGIONS=3
CONFIG_NAME_MAX=48
CONFIG_NETDB_DNSCLIENT=y

View File

@ -32,12 +32,10 @@ endif # INPUT_MOUSE
config INPUT_TOUCHSCREEN
bool
select MM_CIRCBUF
default n
config INPUT_KEYBOARD
bool
select MM_CIRCBUF
default n
config INPUT_UINPUT

View File

@ -1,6 +1,5 @@
menuconfig IPCC
bool "IPCC (Inter Processor Communication Controller) driver"
select MM_CIRCBUF
depends on EXPERIMENTAL
default n
---help---

View File

@ -5,7 +5,6 @@
menuconfig DRIVERS_RC
bool "Remote Control Device Support"
select MM_CIRCBUF
default n
---help---
Drivers for various remote control

View File

@ -5,7 +5,6 @@
menuconfig SENSORS
bool "Sensor Device Support"
select MM_CIRCBUF
default n
---help---
Drivers for various sensors

View File

@ -714,7 +714,6 @@ endif # PSEUDOTERM
menuconfig UART_BTH4
bool "BT H4 uart pseudo device"
default n
select MM_CIRCBUF
---help---
Enable support for Bluetooth H4 UART Pseudo Device(eg. /dev/ttyHCI).
This instantiates a serial-like interface over an existing bluetooth

View File

@ -165,12 +165,6 @@ config MM_SHM
Build in support for the shared memory interfaces shmget(), shmat(),
shmctl(), and shmdt().
config MM_CIRCBUF
bool "Circular buffer support"
default n
---help---
Build in support for the circular buffer management.
config MM_MEMPOOL
bool "Enable memory buffer pool"
default n

View File

@ -20,11 +20,9 @@
# Circular buffer management
ifeq ($(CONFIG_MM_CIRCBUF),y)
CSRCS += circbuf.c
# Add the circular buffer directory to the build
DEPPATH += --dep-path circbuf
VPATH += :circbuf
endif

View File

@ -9,7 +9,6 @@ menu "Rpmsg Socket Support"
config NET_RPMSG
bool "Rpmsg domain (remote) sockets"
depends on RPTUN
select MM_CIRCBUF
default n
---help---
Enable or disable Rpmsg (aka remote) sockets.