Fix hostapd_cli linking without CONFIG_WPA_TRACE=y
This commit is contained in:
parent
03948f423f
commit
b5cb528d70
1 changed files with 1 additions and 1 deletions
|
@ -83,6 +83,7 @@ OBJS += ../src/utils/$(CONFIG_ELOOP).o
|
||||||
OBJS_c += ../src/utils/$(CONFIG_ELOOP).o
|
OBJS_c += ../src/utils/$(CONFIG_ELOOP).o
|
||||||
OBJS += ../src/utils/common.o
|
OBJS += ../src/utils/common.o
|
||||||
OBJS += ../src/utils/wpa_debug.o
|
OBJS += ../src/utils/wpa_debug.o
|
||||||
|
OBJS_c += ../src/utils/wpa_debug.o
|
||||||
OBJS += ../src/utils/wpabuf.o
|
OBJS += ../src/utils/wpabuf.o
|
||||||
OBJS += ../src/utils/os_$(CONFIG_OS).o
|
OBJS += ../src/utils/os_$(CONFIG_OS).o
|
||||||
OBJS += ../src/utils/ip_addr.o
|
OBJS += ../src/utils/ip_addr.o
|
||||||
|
@ -798,7 +799,6 @@ hostapd: $(BCHECK) $(OBJS)
|
||||||
|
|
||||||
ifdef CONFIG_WPA_TRACE
|
ifdef CONFIG_WPA_TRACE
|
||||||
OBJS_c += ../src/utils/trace.o
|
OBJS_c += ../src/utils/trace.o
|
||||||
OBJS_c += ../src/utils/wpa_debug.o
|
|
||||||
endif
|
endif
|
||||||
hostapd_cli: $(OBJS_c)
|
hostapd_cli: $(OBJS_c)
|
||||||
$(Q)$(CC) $(LDFLAGS) -o hostapd_cli $(OBJS_c) $(LIBS_c)
|
$(Q)$(CC) $(LDFLAGS) -o hostapd_cli $(OBJS_c) $(LIBS_c)
|
||||||
|
|
Loading…
Reference in a new issue