strace: Only allow libdw or libunwind
[openwrt/staging/lynxis.git] / package / devel / strace / Makefile
index 55fdc80c1ba35626fb8d7272a92139a7791a6ba8..dd7f31eeebedcfe874bf1f10d847392932b7fb9e 100644 (file)
@@ -57,17 +57,19 @@ system calls a program makes while it is running.
 endef
 
 define Package/strace/config
-menu "Select strace configuration options"
-       depends on PACKAGE_strace
+choice
+       prompt "stack tracing support"
+       default STRACE_NONE
 
-config STRACE_LIBDW
-       bool "Enable stack tracing support using libdw"
-       default n
-config STRACE_LIBUNWIND
-       bool "Enable stack tracing support using libunwind (experimental)"
-       default n
+       config STRACE_NONE
+               bool "None"
 
-endmenu
+       config STRACE_LIBDW
+               bool "libdw"
+
+       config STRACE_LIBUNWIND
+               bool "libunwind (experimental)"
+endchoice
 endef
 
 CONFIGURE_ARGS += \