|
|
|
@ -234,7 +234,7 @@ endif |
|
|
|
|
|
|
|
|
|
define Build/RunMake |
|
|
|
|
CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
|
|
|
|
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(1) \
|
|
|
|
|
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(1) \
|
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
|
$(DRIVER_MAKEOPTS) \
|
|
|
|
|
LIBS="$(TARGET_LDFLAGS)" \
|
|
|
|
@ -247,12 +247,12 @@ define Build/Compile/wpad |
|
|
|
|
$(call Build/RunMake,wpa_supplicant,-s MULTICALL=1 dump_cflags) | \
|
|
|
|
|
sed -e 's,-n ,,g' -e 's,$(TARGET_CFLAGS),,' \
|
|
|
|
|
` > $(PKG_BUILD_DIR)/.cflags
|
|
|
|
|
$(call Build/RunMake,hostapd, \
|
|
|
|
|
+$(call Build/RunMake,hostapd, \
|
|
|
|
|
CFLAGS="$$$$(cat $(PKG_BUILD_DIR)/.cflags)" \
|
|
|
|
|
MULTICALL=1 \
|
|
|
|
|
hostapd_cli hostapd_multi.a \
|
|
|
|
|
)
|
|
|
|
|
$(call Build/RunMake,wpa_supplicant, \
|
|
|
|
|
+$(call Build/RunMake,wpa_supplicant, \
|
|
|
|
|
CFLAGS="$$$$(cat $(PKG_BUILD_DIR)/.cflags)" \
|
|
|
|
|
MULTICALL=1 \
|
|
|
|
|
wpa_cli wpa_supplicant_multi.a \
|
|
|
|
|