arch: Change dependence from ELF to LIBC_ARCH_ELF
since LIBC_MODLIB need to be considered too Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I220b25afa08727af954ccbb40ac987b66113b2be
This commit is contained in:
parent
274ee57696
commit
f6a87c5c15
@ -183,7 +183,7 @@ config ARMV7M_TARGET2_PREL
|
||||
bool "R_ARM_TARGET2 is PC relative"
|
||||
default n if !CXX_EXCEPTION
|
||||
default y if CXX_EXCEPTION
|
||||
depends on ELF
|
||||
depends on LIBC_ARCH_ELF
|
||||
---help---
|
||||
Perform a PC relative relocation for relocation type R_ARM_TARGET2
|
||||
|
||||
|
@ -153,7 +153,7 @@ config ARMV8M_TARGET2_PREL
|
||||
bool "R_ARM_TARGET2 is PC relative"
|
||||
default n if !CXX_EXCEPTION
|
||||
default y if CXX_EXCEPTION
|
||||
depends on ELF
|
||||
depends on LIBC_ARCH_ELF
|
||||
---help---
|
||||
Perform a PC relative relocation for relocation type R_ARM_TARGET2
|
||||
|
||||
|
@ -3381,7 +3381,7 @@ config STM32_I2SPLL
|
||||
|
||||
config STM32_CCMEXCLUDE
|
||||
bool "Exclude CCM SRAM from the heap"
|
||||
default y if ARCH_DMA || ELF
|
||||
default y if ARCH_DMA || LIBC_ARCH_ELF
|
||||
depends on STM32_HAVE_CCM
|
||||
---help---
|
||||
Exclude CCM SRAM from the HEAP because (1) it cannot be used for DMA
|
||||
|
@ -2609,7 +2609,7 @@ config STM32F7_CUSTOM_CLOCKCONFIG
|
||||
|
||||
config STM32F7_DTCMEXCLUDE
|
||||
bool "Exclude DTCM SRAM from the heap"
|
||||
default y if ELF
|
||||
default y if LIBC_ARCH_ELF
|
||||
depends on ARMV7M_HAVE_DTCM
|
||||
---help---
|
||||
Exclude DTCM SRAM from the HEAP because it appears to be impossible
|
||||
|
@ -1653,7 +1653,7 @@ config STM32H7_CUSTOM_CLOCKCONFIG
|
||||
|
||||
config STM32H7_DTCMEXCLUDE
|
||||
bool "Exclude DTCM SRAM from the heap"
|
||||
default y if ELF
|
||||
default y if LIBC_ARCH_ELF
|
||||
depends on ARMV7M_HAVE_DTCM
|
||||
---help---
|
||||
Exclude DTCM SRAM from the HEAP because it appears to be impossible
|
||||
|
@ -49,7 +49,6 @@ CONFIG_SCHED_WAITPID=y
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
CONFIG_START_DAY=5
|
||||
CONFIG_START_MONTH=8
|
||||
CONFIG_STM32_CCMEXCLUDE=y
|
||||
CONFIG_STM32_DISABLE_IDLE_SLEEP_DURING_DEBUG=y
|
||||
CONFIG_STM32_JTAG_SW_ENABLE=y
|
||||
CONFIG_STM32_OTGFS=y
|
||||
|
@ -46,7 +46,6 @@ CONFIG_SCHED_HPWORK=y
|
||||
CONFIG_SCHED_WAITPID=y
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
CONFIG_START_MONTH=6
|
||||
CONFIG_STM32_CCMEXCLUDE=y
|
||||
CONFIG_STM32_DISABLE_IDLE_SLEEP_DURING_DEBUG=y
|
||||
CONFIG_STM32_JTAG_SW_ENABLE=y
|
||||
CONFIG_STM32_PWR=y
|
||||
|
@ -48,7 +48,6 @@ CONFIG_SDCLONE_DISABLE=y
|
||||
CONFIG_START_DAY=6
|
||||
CONFIG_START_MONTH=12
|
||||
CONFIG_START_YEAR=2011
|
||||
CONFIG_STM32_CCMEXCLUDE=y
|
||||
CONFIG_STM32_JTAG_SW_ENABLE=y
|
||||
CONFIG_STM32_PWR=y
|
||||
CONFIG_STM32_SPI1=y
|
||||
|
Loading…
Reference in New Issue
Block a user