mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-19 18:51:33 +01:00
-------------------------------------------------------------------------------
* a4c8de6 Merge remote-tracking branch 'origin/nvram_hv' into devel
* 16cb4dd questd: improve parsing
* 312ca10 questd: get nvram Hardware Version value
* 824c247 fix c99 warning
* 83a7011 questd: print rssi value from extender
* b554abd questd: get rssi value from extender
-------------------------------------------------------------------------------
commit a4c8de679ceae28dc418e1f779da7040b3c0e24f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-12-06 14:56:33 +0100
Merge remote-tracking branch 'origin/nvram_hv' into devel
Base directory -> /
Makefile | 2 +-
dumper.c | 19 +++++++++++++++
network.c | 30 ++++++++++++++---------
network.h | 7 +++++-
system.c | 5 ++++
system.h | 1 +
wificontrol.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
7 files changed, 123 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 16cb4dda3909efef54b84d44fa11dc28f9763c8c
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 17:12:37 +0100
questd: improve parsing
Base directory -> /
dumper.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 312ca10075347ea1ca4d4a051d079ff5643a934e
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-12-04 16:27:27 +0100
questd: get nvram Hardware Version value
Base directory -> /
dumper.c | 20 ++++++++++++++++++++
system.c | 5 +++++
system.h | 1 +
3 files changed, 26 insertions(+)
-------------------------------------------------------------------------------
commit 824c24781123b0cc83216486732e5a03823ec5ed
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-30 16:13:31 +0100
fix c99 warning
Base directory -> /
wificontrol.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 83a7011877b6a7b1dcbcfd925037ffd77de5165f
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:37:56 +0100
questd: print rssi value from extender
Base directory -> /
network.c | 30 +++++++++++++++++++-----------
network.h | 7 ++++++-
2 files changed, 25 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit b554abd3fa7e0898095bfb575803081f716d3723
Author: Robin Stjerndorff <robin.stjerndorff@inteno.se>
Date: 2017-11-23 15:35:06 +0100
questd: get rssi value from extender
Base directory -> /
Makefile | 2 +-
wificontrol.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
2 files changed, 71 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
66 lines
1.9 KiB
Makefile
66 lines
1.9 KiB
Makefile
#
|
|
# Copyright (C) 2013 Inteno
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=questd
|
|
PKG_VERSION:=3.1.39
|
|
|
|
PKG_SOURCE_VERSION:=a4c8de679ceae28dc418e1f779da7040b3c0e24f
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=http://public.inteno.se:/questd
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
|
|
QUESTD_TARGET:=-DIOPSYS_BROADCOM
|
|
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
|
|
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
|
|
QUESTD_TARGET:=-DIOPSYS_BROADCOM
|
|
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
|
|
QUESTD_TARGET:=-DIOPSYS_MARVELL
|
|
else ifeq ($(CONFIG_TARGET_lantiq_xrx500),y)
|
|
QUESTD_TARGET:=-DIOPSYS_LANTIQ
|
|
else ifeq ($(CONFIG_TARGET_iopsys_ramips_ex400),y)
|
|
QUESTD_TARGET:=-DIOPSYS_MEDIATEK
|
|
QUESTD_CFLAGS:=\
|
|
-I$(STAGING_DIR)/usr/include \
|
|
-I$(STAGING_DIR)/usr/include/libnl-tiny
|
|
else
|
|
$(info (UNEXPECTED CONFIG TARGET))
|
|
endif
|
|
QUESTD_CFLAGS:=$(QUESTD_CFLAGS) $(QUESTD_TARGET)
|
|
|
|
export QUESTD_TARGET
|
|
export KERNEL_DIR
|
|
export QUESTD_CFLAGS
|
|
|
|
define Package/questd
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libuci +libubox +ubus +libpthread +(TARGET_iopsys_ramips_ex400):swconfig +(TARGET_iopsys_ramips_ex400):libnl-tiny +libopenssl
|
|
TITLE:=router info daemon
|
|
endef
|
|
|
|
define Package/questd/description
|
|
questd collects system and network information and presents
|
|
this information via ubus
|
|
endef
|
|
|
|
define Package/questd/install
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/questd $(1)/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wificontrol $(1)/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/graphd $(1)/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uproxyd $(1)/sbin/
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,questd))
|