2020-07-20 14:54:23 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# wifi-connect
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-04-07 12:48:03 +02:00
|
|
|
WIFI_CONNECT_VERSION = ce951054c8038c7d08a37a516c5e55f903e065ac
|
2022-10-06 13:13:07 +02:00
|
|
|
WIFI_CONNECT_SITE = $(call github,balena-os,wifi-connect,$(WIFI_CONNECT_VERSION))
|
2022-05-12 10:46:41 +02:00
|
|
|
WIFI_CONNECT_DEPENDENCIES = host-rustc host-pkgconf
|
2020-07-20 14:54:23 +02:00
|
|
|
|
2022-10-06 13:13:07 +02:00
|
|
|
WIFI_CONNECT_CARGO_ENV = PKG_CONFIG_ALLOW_CROSS=1
|
2020-07-20 14:54:23 +02:00
|
|
|
|
|
|
|
define WIFI_CONNECT_INSTALL_TARGET_CMDS
|
|
|
|
mkdir -p $(TARGET_DIR)/usr/local/sbin
|
2022-10-06 13:13:07 +02:00
|
|
|
$(INSTALL) -D -m 0755 $(@D)/target/$(RUSTC_TARGET_NAME)/release/wifi-connect \
|
2020-07-20 14:54:23 +02:00
|
|
|
$(TARGET_DIR)/usr/local/sbin/wifi-connect
|
|
|
|
endef
|
|
|
|
|
2022-10-06 13:13:07 +02:00
|
|
|
$(eval $(cargo-package))
|