mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
22 lines
733 B
Makefile
22 lines
733 B
Makefile
define Package/map-plugins-zero-touch
|
|
$(call Package/map-plugins/Default)
|
|
TITLE:=Full Zero-touch bootstrapping of Wi-Fi Repeater device(s)
|
|
DEPENDS= +libubox +libuci +libubus +libeasy +libnl-genl \
|
|
+libjson-c +libblobmsg-json +map-controller \
|
|
+map-plugins
|
|
endef
|
|
|
|
define Package/map-plugins-zero-touch/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(INSTALL_DIR) $(1)/usr/lib/mapcontroller
|
|
$(CP) $(PKG_BUILD_DIR)/zero-touch/zerotouch.so $(1)/usr/lib/mapcontroller/zerotouch.so
|
|
$(CP) $(PKG_BUILD_DIR)/zero-touch/libztdpp.so $(1)/usr/lib/libztdpp.so
|
|
|
|
endef
|
|
|
|
define Build/Compile/map-plugins-zero-touch
|
|
$(MAKE) -C $(PKG_BUILD_DIR)/zero-touch \
|
|
CC="$(TARGET_CC)" \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
LDFLAGS="$(TARGET_LDFLAGS)";
|
|
endef
|