################################################################################ # # wifi-ap # ################################################################################ WIFI_AP_VERSION = 0.1.0 WIFI_AP_SITE = $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/wifi-ap WIFI_AP_SITE_METHOD = local WIFI_AP_LICENSE = Apache License 2.0 WIFI_AP_LICENSE_FILES = LICENSE define WIFI_AP_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/etc/wpa_supplicant $(INSTALL) -m 644 -D $(@D)/wpa_supplicant-ap0.conf \ $(TARGET_DIR)/etc/wpa_supplicant/wpa_supplicant-ap0.conf $(INSTALL) -D -m 644 $(@D)/wpa_supplicant@ap0.service \ $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant@ap0.service $(INSTALL) -D -m 644 $(@D)/wifi-setup.service \ $(TARGET_DIR)/usr/lib/systemd/system/wifi-setup.service $(INSTALL) -D -m 644 $(@D)/dnsmasq.service \ $(TARGET_DIR)/usr/lib/systemd/system/dnsmasq.service $(INSTALL) -D -m 644 $(@D)/nginx.service \ $(TARGET_DIR)/usr/lib/systemd/system/nginx.service $(INSTALL) -D -m 644 $(@D)/iptables.service \ $(TARGET_DIR)/usr/lib/systemd/system/iptables.service endef $(eval $(generic-package))