mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-10 03:07:58 +01:00
-------------------------------------------------------------------------------
* a814517 wireless: added bsd_record function to router.wireless
* 1a7220c broadcom: added missing struct identifier and fixed baad naming
* 9c1cc54 wireless: added bsd_sta_info call to router.wireless
* 1dc4ca9 wireless: improved coding style on quest_bs_data function
-------------------------------------------------------------------------------
commit a8145170c3978e3dc92da9e0daab56da7ff049b6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 13:57:05 +0200
wireless: added bsd_record function to router.wireless
Base directory -> /
broadcom.c | 41 +++++++++++++++++++++++++++++++++++++++++
broadcom.h | 10 ++++++++++
wireless.c | 33 +++++++++++++++++++++++++++++++++
3 files changed, 84 insertions(+)
-------------------------------------------------------------------------------
commit 1a7220cc6ce97488c1fe3a906062c151fecb7766
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 13:08:55 +0200
broadcom: added missing struct identifier and fixed baad naming
Base directory -> /
broadcom.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 9c1cc54b063a905921676e2ba81cfacee59bd0c7
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 10:53:32 +0200
wireless: added bsd_sta_info call to router.wireless
Base directory -> /
broadcom.c | 42 ++++++++++++++++++++++++++++++++++++++++++
broadcom.h | 13 +++++++++++++
wireless.c | 39 +++++++++++++++++++++++++++++++++++++++
3 files changed, 94 insertions(+)
-------------------------------------------------------------------------------
commit 1dc4ca9bcab3f6a6595dddc1d6ea11a9fae71625
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 10:48:59 +0200
wireless: improved coding style on quest_bs_data function
Base directory -> /
wireless.c | 108 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 56 insertions(+), 52 deletions(-)
-------------------------------------------------------------------------------
65 lines
1.8 KiB
Makefile
65 lines
1.8 KiB
Makefile
#
|
|
# Copyright (C) 2013 Inteno
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=questd
|
|
PKG_VERSION:=3.1.38
|
|
|
|
PKG_SOURCE_VERSION:=a8145170c3978e3dc92da9e0daab56da7ff049b6
|
|
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
|
|
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_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,questd))
|