package/strace: xtensa needs headers >= 5.0

xtensa support needs user_pt_regs since version 5.6 and
2429c69961

However user_pt_regs is only available since kernel 5.0 and
06fbac8e89

Fixes:
 - http://autobuild.buildroot.org/results/c6c4fb3b9098c5fc5dbe4415e2a9757fc775b746

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2021-05-29 19:48:46 +02:00 committed by Yann E. MORIN
parent c3ba90d69a
commit fb25c95a0b

View File

@ -2,6 +2,8 @@ config BR2_PACKAGE_STRACE
bool "strace"
# needs at least kernel headers 4.0 on nios2
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 || !BR2_nios2
# needs at least kernel headers 5.0 on xtensa
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_xtensa
depends on !BR2_nds32 && !BR2_RISCV_32
help
A useful diagnostic, instructional, and debugging tool.
@ -16,3 +18,7 @@ config BR2_PACKAGE_STRACE
comment "strace needs a toolchain w/ headers >= 4.0 on nios2"
depends on BR2_nios2
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
comment "strace needs a toolchain w/ headers >= 5.0 on xtensa"
depends on BR2_xtensa
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0