mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-03 20:37:45 +01:00
-------------------------------------------------------------------------------
* 92f918d cleaned up the code and fixed warnings
* b1341a6 inbd: wps on success starts a timer that if it fires sets leds.wps to off
-------------------------------------------------------------------------------
commit 92f918d26c0ffc22d1704f5ea6cbb0bd7fdbdab9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 16:25:57 +0200
cleaned up the code and fixed warnings
Base directory -> /
src/inbd.c | 94 +++++++++++++++++++++++++++++---------------------------------
1 file changed, 44 insertions(+), 50 deletions(-)
-------------------------------------------------------------------------------
commit b1341a60ab2f890aaf092be924b8059c35a4c794
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-06-28 16:22:05 +0200
inbd: wps on success starts a timer that if it fires sets leds.wps to off
Base directory -> /
src/inbd.c | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2016 Inteno
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=inbd
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_VERSION:=92f918d26c0ffc22d1704f5ea6cbb0bd7fdbdab9
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=http://public.inteno.se/inbd
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
# support parallel build
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
#re create configure scripts if not present.
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
|
|
# this way we don't need to pick out the resulting files from the build dir.
|
|
PKG_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/inbd
|
|
CATEGORY:=Utilities
|
|
TITLE:=Inteno Netlink Bridge Daemon
|
|
URL:=
|
|
DEPENDS:=+libuci +libubus +libblobmsg-json +libnl-genl
|
|
endef
|
|
|
|
define Package/inbd/description
|
|
Application handling netlink messages from kernel and sending them out on ubus.
|
|
endef
|
|
|
|
define Package/inbd/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/inbd $(1)/usr/bin/
|
|
cp $(PKG_BUILD_DIR)/files/etc/init.d/inbd $(1)/etc/init.d/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,inbd))
|