mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 10:01:03 +00:00
strace: Only allow libdw or libunwind
These two dependencies are mutual exclusive and it is only possible to select one of them, change the select to a chose so it is only possible to select one of them in OpenWrt menu config. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
b494734367
commit
ce8226a971
@ -57,17 +57,19 @@ system calls a program makes while it is running.
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/strace/config
|
define Package/strace/config
|
||||||
menu "Select strace configuration options"
|
choice
|
||||||
depends on PACKAGE_strace
|
prompt "stack tracing support"
|
||||||
|
default STRACE_NONE
|
||||||
|
|
||||||
config STRACE_LIBDW
|
config STRACE_NONE
|
||||||
bool "Enable stack tracing support using libdw"
|
bool "None"
|
||||||
default n
|
|
||||||
config STRACE_LIBUNWIND
|
|
||||||
bool "Enable stack tracing support using libunwind (experimental)"
|
|
||||||
default n
|
|
||||||
|
|
||||||
endmenu
|
config STRACE_LIBDW
|
||||||
|
bool "libdw"
|
||||||
|
|
||||||
|
config STRACE_LIBUNWIND
|
||||||
|
bool "libunwind (experimental)"
|
||||||
|
endchoice
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user