mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-15 12:29:11 +01:00
-------------------------------------------------------------------------------
* 16de648 questd: update is_inteno_*_macaddr functions
* 4d4e5a2 wificontrol: improve debug messages
* 92047e1 use long option --assoclist
* 703eec4 wificontrol: improve debug messages
-------------------------------------------------------------------------------
commit 16de648470f316aa3b2658e8870141d594aff074
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-26 13:45:50 +0200
questd: update is_inteno_*_macaddr functions
Base directory -> /
tools.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 4d4e5a29f2df1b4af603e53c8e237c11e020715c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-25 11:42:31 +0200
wificontrol: improve debug messages
Base directory -> /
wificontrol.c | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 92047e1c8f2c139aa1de1e02899174576a1f76af
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-21 20:23:06 +0200
use long option --assoclist
Base directory -> /
network.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 703eec48f8a8220c212a5c299ecf3315424caa35
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-21 19:08:58 +0200
wificontrol: improve debug messages
Base directory -> /
wificontrol.c | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 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:=16de648470f316aa3b2658e8870141d594aff074
|
|
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))
|