diff options
author | Jouni Malinen <j@w1.fi> | 2009-12-19 18:40:54 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-12-19 18:40:54 +0200 |
commit | 930f704aacaf90b3f9119099aa1dc22f02818796 (patch) | |
tree | 1d0db2179ba9fbd4e7de16fa92f3990616171b4c /wpa_supplicant/Makefile | |
parent | f5d4a8ead4103da3e499e4236964ac654529f1f2 (diff) | |
download | external_wpa_supplicant_8_ti-930f704aacaf90b3f9119099aa1dc22f02818796.zip external_wpa_supplicant_8_ti-930f704aacaf90b3f9119099aa1dc22f02818796.tar.gz external_wpa_supplicant_8_ti-930f704aacaf90b3f9119099aa1dc22f02818796.tar.bz2 |
Add backtrace support for debugging
WPA_TRACE=y can now be used to enable internal backtrace support that
will provide more details about implementation errors, e.g., when some
resources are not released correctly. In addition, this will print out
a backtrace automatically if SIGSEGV is received.
Diffstat (limited to 'wpa_supplicant/Makefile')
-rw-r--r-- | wpa_supplicant/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 1eb5b3b..6e3a8d5 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -68,6 +68,11 @@ OBJS += ../src/utils/os_$(CONFIG_OS).o OBJS_p += ../src/utils/os_$(CONFIG_OS).o OBJS_c += ../src/utils/os_$(CONFIG_OS).o +ifdef CONFIG_WPA_TRACE +CFLAGS += -DWPA_TRACE +OBJS += ../src/utils/trace.o +endif + ifndef CONFIG_ELOOP CONFIG_ELOOP=eloop endif |