aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 449ccc6..f9da212 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -397,8 +397,9 @@ ifdef CONFIG_DRIVER_TEST
endif
echo '}' >> driver_conf.c
-hostapd_cli: hostapd_cli.o $(DIR_WPA_SUPPLICANT)/wpa_ctrl.o
- $(CC) -o hostapd_cli hostapd_cli.o $(DIR_WPA_SUPPLICANT)/wpa_ctrl.o
+OBJS_c = hostapd_cli.o $(DIR_WPA_SUPPLICANT)/wpa_ctrl.o os_$(CONFIG_OS).o
+hostapd_cli: $(OBJS_c)
+ $(CC) -o hostapd_cli $(OBJS_c)
NOBJS = nt_password_hash.o $(DIR_WPA_SUPPLICANT)/ms_funcs.o sha1.o rc4.o md5.o
NOBJS += $(DIR_WPA_SUPPLICANT)/crypto.o os_$(CONFIG_OS).o