mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-11 03:28:36 +01:00
-------------------------------------------------------------------------------
* 5b3d4db add is_inteno_macaddr function
* c9074d8 adapt to new Inteno mac address range
-------------------------------------------------------------------------------
commit 5b3d4dbb769965367c1a578490c3b71b4d39770e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 13:54:03 +0100
add is_inteno_macaddr function
Base directory -> /
Makefile | 4 ++--
network.c | 12 ++++++------
tools.c | 10 ++++++++++
tools.h | 2 ++
wificontrol.c | 38 ++++++--------------------------------
5 files changed, 26 insertions(+), 40 deletions(-)
-------------------------------------------------------------------------------
commit c9074d8b3a7de736c6745d5dee1a8bed666b36fa
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-11-08 13:34:44 +0100
adapt to new Inteno mac address range
Base directory -> /
network.c | 13 ++++++++-----
wificontrol.c | 4 ++--
2 files changed, 10 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
#
|
|
# Copyright (C) 2013 Inteno
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=questd
|
|
PKG_VERSION:=3.1.23
|
|
|
|
PKG_SOURCE_VERSION:=5b3d4dbb769965367c1a578490c3b71b4d39770e
|
|
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_CLFAGS:=-DIOPSYS_BROADCOM
|
|
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
|
|
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
|
|
QUESTD_CLFAGS:=-DIOPSYS_BROADCOM
|
|
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
|
|
QUESTD_CLFAGS:=-DIOPSYS_MARVELL
|
|
else ifeq ($(CONFIG_TARGET_lantiq_xrx500),y)
|
|
QUESTD_CLFAGS:=-DIOPSYS_LANTIQ
|
|
else
|
|
$(info (UNEXPECTED CONFIG TARGET))
|
|
endif
|
|
|
|
export KERNEL_DIR
|
|
export QUESTD_CLFAGS
|
|
|
|
define Package/questd
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libuci +libubox +ubus +libpthread
|
|
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_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
|
|
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/router.sh $(1)/usr/libexec/rpcd/router
|
|
#$(INSTALL_BIN) $(PKG_BUILD_DIR)/wps.sh $(1)/usr/libexec/rpcd/wps
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,questd))
|