mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
-------------------------------------------------------------------------------
* a6b9256 fix assoclist method
-------------------------------------------------------------------------------
commit a6b9256971aee59bb1049c8ac439ecb51619c72a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-11-29 15:28:07 +0100
fix assoclist method
Base directory -> /
wifimngr.c | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
-------------------------------------------------------------------------------
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2018 Iopsys
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=wifimngr
|
|
PKG_VERSION:=1.0.2
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=a6b9256971aee59bb1049c8ac439ecb51619c72a
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/wifimngr.git
|
|
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@iopsys.eu>
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/wifimngr
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=WiFi status and configration utility
|
|
DEPENDS:=+libwifi +libuci +libubox +ubus +libpthread +libnl-genl
|
|
endef
|
|
|
|
define Package/wifimngr/description
|
|
This package can be used to configure and provide status about
|
|
the WiFi modules through UBUS.
|
|
It does this in an implementation agnostic manner through APIs
|
|
exposed by the libwifi library.
|
|
endef
|
|
|
|
TARGET_CFLAGS += \
|
|
-I$(STAGING_DIR)/usr/include \
|
|
-I$(STAGING_DIR)/usr/include/libnl3 \
|
|
-D_GNU_SOURCE
|
|
|
|
#MAKE_FLAGS += \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
FPIC="$(FPIC)"
|
|
|
|
#define Build/Compile
|
|
# +$(MAKE_VARS) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS)
|
|
#endef
|
|
|
|
define Package/wifimngr/install
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/wifimngr.init $(1)/etc/init.d/wifimngr
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wifimngr $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,wifimngr))
|