bsd: Add support for WPA_TRACE and WPA_TRACE_BFD

On FreeBSD 8.0, WPA_TRACE and WPA_TRACE_BFD functionality build fails.
This commit is contained in:
Masashi Honma 2010-01-09 11:01:12 +02:00 committed by Jouni Malinen
parent 60e1ce7615
commit 953f0f6333
3 changed files with 24 additions and 0 deletions

View file

@ -87,6 +87,8 @@ CONFIG_DRIVER_WEXT=y
#CONFIG_DRIVER_BSD=y
#CFLAGS += -I/usr/local/include
#LIBS += -L/usr/local/lib
#LIBS_p += -L/usr/local/lib
#LIBS_c += -L/usr/local/lib
# Driver interface for Windows NDIS
#CONFIG_DRIVER_NDIS=y
@ -387,8 +389,16 @@ CONFIG_PEERKEY=y
# This tracks use of memory allocations and other registrations and reports
# incorrect use with a backtrace of call (or allocation) location.
#CONFIG_WPA_TRACE=y
# For BSD, comment out these.
#LIBS += -lexecinfo
#LIBS_p += -lexecinfo
#LIBS_c += -lexecinfo
# Use libbfd to get more details for developer debugging
# This enables use of libbfd to get more detailed symbols for the backtraces
# generated by CONFIG_WPA_TRACE=y.
#CONFIG_WPA_TRACE_BFD=y
# For BSD, comment out these.
#LIBS += -lbfd -liberty -lz
#LIBS_p += -lbfd -liberty -lz
#LIBS_c += -lbfd -liberty -lz