hostapd: fix mesh supplicant build error
authorFelix Fietkau <nbd@nbd.name>
Tue, 1 Aug 2023 11:43:07 +0000 (13:43 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 1 Aug 2023 11:43:56 +0000 (13:43 +0200)
Include AP ucode source file

Fixes: e56c5f7b276a ("hostapd: add ucode support, use ucode for the main ubus object")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/patches/601-ucode_support.patch

index 6cfc9b7d8d52a92ee0c03e7042a33705d1f595d2..ff1a9ddc0d3deb3be44a1df2973a3f41d0b1f5aa 100644 (file)
  endif
  
  ifdef CONFIG_CODE_COVERAGE
+@@ -999,6 +1011,9 @@ OBJS += ../src/ap/ctrl_iface_ap.o
+ ifdef CONFIG_UBUS
+ OBJS += ../src/ap/ubus.o
+ endif
++ifdef CONFIG_UCODE
++OBJS += ../src/ap/ucode.o
++endif
+ endif
+ CFLAGS += -DEAP_SERVER -DEAP_SERVER_IDENTITY
 --- a/wpa_supplicant/wpa_supplicant.c
 +++ b/wpa_supplicant/wpa_supplicant.c
 @@ -7636,6 +7636,7 @@ struct wpa_supplicant * wpa_supplicant_a