mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
-------------------------------------------------------------------------------
* 5ab0a61 show idle time in secs for stas
* 1b027f6 Adapt Copyright to company change
-------------------------------------------------------------------------------
commit 5ab0a61b2d8dc34be0e0053670a13876e648f94b
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-06-03 15:17:09 +0200
show idle time in secs for stas
Base directory -> /
wifimngr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 1b027f6473f7b79bf4427ebf57183928126aacfd
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2019-05-27 18:09:20 +0200
Adapt Copyright to company change
Base directory -> /
main.c | 4 ++--
wifimngr.c | 4 ++--
wifimngr_nl.c | 2 +-
wps.c | 6 +++---
4 files changed, 8 insertions(+), 8 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:=5ab0a61b2d8dc34be0e0053670a13876e648f94b
|
|
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))
|