iopsys-feed/questd/Makefile
Reidar Cederqvist cb8bb9c127 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4e1e080 network: made the port statistics long long refs #12135
* 2509608 tools: always null-terminate the output buffer
-------------------------------------------------------------------------------
commit 4e1e080fb8295d89c74abb93e08dcf2f9cc5abbf
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-30 13:17:42 +0200

    network: made the port statistics long long refs #12135

    to hold bigger values than 2Gb

Base directory -> /
 network.h | 12 ++++++------
 port.c    |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 2509608d33aa5881a71f4794d42e76f3e9926f89
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-29 15:09:28 +0200

    tools: always null-terminate the output buffer

Base directory -> /
 tools.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-05-30 13:21:39 +02:00

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:=4e1e080fb8295d89c74abb93e08dcf2f9cc5abbf
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))