mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-16 12:59:14 +01:00
-------------------------------------------------------------------------------
* ba36f2f wireless.c: autochannel: add channel after successful switch
* 40af409 wireless.c: changed return to ok and added check if channel is dfs
* e4d7270 wireless.c: added return messge to autochannel call
-------------------------------------------------------------------------------
commit ba36f2fa761ba8e64c0dcfe1000dd1bebb8c7e5b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 12:48:49 +0200
wireless.c: autochannel: add channel after successful switch
Base directory -> /
broadcom.c | 8 +++-----
wireless.c | 9 ++++++---
2 files changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 40af409c74bf3c89f246ca394b6c481d33a851f5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 11:35:00 +0200
wireless.c: changed return to ok and added check if channel is dfs
Base directory -> /
broadcom.c | 7 +++++++
wireless.c | 10 ++++------
2 files changed, 11 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit e4d7270df88c66469e140acd06832f22b5cd2b80
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 10:02:36 +0200
wireless.c: added return messge to autochannel call
Base directory -> /
wireless.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
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:=ba36f2fa761ba8e64c0dcfe1000dd1bebb8c7e5b
|
|
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))
|