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:
parent
bcafc77cf8
commit
a446b5816f
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,5 @@
|
||||
menuconfig IPCC
|
||||
bool "IPCC (Inter Processor Communication Controller) driver"
|
||||
select MM_CIRCBUF
|
||||
depends on EXPERIMENTAL
|
||||
default n
|
||||
---help---
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
menuconfig DRIVERS_RC
|
||||
bool "Remote Control Device Support"
|
||||
select MM_CIRCBUF
|
||||
default n
|
||||
---help---
|
||||
Drivers for various remote control
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
menuconfig SENSORS
|
||||
bool "Sensor Device Support"
|
||||
select MM_CIRCBUF
|
||||
default n
|
||||
---help---
|
||||
Drivers for various sensors
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user