mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
------------------------------------------------------------------------------- * 7a0a742 might be fixed for refs #16316 * 34f8e0c fix compile bug * a698c39 give len to sscanf * a1a73af do not malloc memory * e070e8b Revert "refs #15754" * 76ea435 refs #15754 ------------------------------------------------------------------------------- commit 7a0a7427d339736e3ee555e816d40c985651632c Author: ke hu <ke.hu@inteno.se> Date: 2018-11-30 14:10:27 +0100 might be fixed for refs #16316 instead stack with memory pool Base directory -> / mediatek.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------- questd.c | 3 +++ wireless.c | 12 ++++++++++- 3 files changed, 76 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 34f8e0cb4f6b046b35926d59270f75457442922f Author: ke hu <ke.hu@inteno.se> Date: 2018-11-30 09:49:56 +0100 fix compile bug Base directory -> / mediatek.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit a698c39778c18c3f606c21e81ccba8ed9601d675 Author: ke.hu <ke.hu@iopsys.eu> Date: 2018-11-29 16:45:41 +0100 give len to sscanf fixed some sscanf protential bugs Base directory -> / dsl.c | 4 ++-- dumper.c | 2 +- graphd.c | 11 +++++++---- mediatek.c | 13 ++++++------- net.c | 16 ++++++++-------- network.c | 8 ++++---- port.c | 14 +++++++------- system.c | 8 ++++---- usb.c | 2 +- 9 files changed, 40 insertions(+), 38 deletions(-) ------------------------------------------------------------------------------- commit a1a73af6a433d1bd20fb7ec7929ec00c3d7de06b Author: ke hu <ke.hu@inteno.se> Date: 2018-11-23 10:15:20 +0100 do not malloc memory use stack instead of malloc Base directory -> / mediatek.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit e070e8b76989cee0e5522187d9ea50db082105d9 Author: ke hu <ke.hu@inteno.se> Date: 2018-10-11 16:08:30 +0200 Revert "refs #15754" This reverts commit 76ea43590245e6ffb2ee7db76f9e33778eee9210. Base directory -> / port.c | 11 ----------- 1 file changed, 11 deletions(-) ------------------------------------------------------------------------------- commit 76ea43590245e6ffb2ee7db76f9e33778eee9210 Author: ke hu <ke.hu@inteno.se> Date: 2018-10-11 16:08:30 +0200 refs #15754 wireless port fixed Base directory -> / port.c | 11 +++++++++++ 1 file changed, 11 insertions(+) -------------------------------------------------------------------------------
67 lines
1.9 KiB
Makefile
67 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.40
|
|
|
|
PKG_SOURCE_VERSION:=7a0a7427d339736e3ee555e816d40c985651632c
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/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_intel_mips),y)
|
|
# BUG FIXME the Intel mips target is not handled in questd this is just to get it to compile
|
|
QUESTD_TARGET:=-DIOPSYS_BROADCOM
|
|
else ifeq ($(CONFIG_TARGET_iopsys_ramips),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:swconfig +TARGET_iopsys_ramips: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))
|