mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-20 03:01:32 +01:00
-------------------------------------------------------------------------------
* 785166a Remove BRCM_BOARD define
* 86178d8 Remove prox_px3220 driver
* 6069bf5 Remove vox driver
* 3897735 Remove wlctl driver
* 3aadf4a CMakeLists.txt: Run cmake-format
* 636c4e1 update README for doc portal
* d055dd8 update README.md
-------------------------------------------------------------------------------
commit 785166a9861a119623556163179915727896156b
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2021-04-23 12:37:22 +0200
Remove BRCM_BOARD define
No drivers depend on Broadcom headers anymore, remove the BRCM_BOARD define.
Peripheral-manager has neither a build nor a runtime dependency on the
Broadcom SDK.
Base directory -> /
CMakeLists.txt | 4 ----
1 file changed, 4 deletions(-)
-------------------------------------------------------------------------------
commit 86178d8dfc51f67b3492ad603106b1fc29d6b285
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2021-04-23 12:32:39 +0200
Remove prox_px3220 driver
This driver is no longer used by any supported target. Remove it.
Base directory -> /
src/button.c | 16 -----
src/prox_px3220.c | 193 ------------------------------------------------------
src/prox_px3220.h | 9 ---
src/server.c | 6 --
4 files changed, 224 deletions(-)
-------------------------------------------------------------------------------
commit 6069bf5aea4dbb2ebfdd912ebb2d3c95f90ba86c
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2021-04-21 20:10:06 +0200
Remove vox driver
This driver is no longer used by any supported target and neither is it
built or referenced by any other file. Remove it.
Base directory -> /
src/vox.c | 176 --------------------------------------------------------
src/vox_test.c | 178 ---------------------------------------------------------
2 files changed, 354 deletions(-)
-------------------------------------------------------------------------------
commit 3897735e4b55bed66a2b4a2ffc3ee3766e502ec5
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2021-04-21 19:44:50 +0200
Remove wlctl driver
This driver is no longer used by any supported target. Remove it.
Base directory -> /
CMakeLists.txt | 2 +-
src/server.c | 4 --
src/wlctl_led.c | 133 --------------------------------------------------------
3 files changed, 1 insertion(+), 138 deletions(-)
-------------------------------------------------------------------------------
commit 3aadf4a6d69ed1db02376e7a20f751e8bbf408c5
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2021-04-21 10:49:42 +0200
CMakeLists.txt: Run cmake-format
Amongst consistent indendation and following best-practices such as
lowercase function-names, this puts individual list items on a separate
line, making diffs easier to read.
Base directory -> /
CMakeLists.txt | 190 +++++++++++++++++++++++++++++++++++----------------------
1 file changed, 118 insertions(+), 72 deletions(-)
-------------------------------------------------------------------------------
commit 636c4e1568828d85def657c324c78e341edccaad
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2021-04-11 13:11:29 +0200
update README for doc portal
Base directory -> /
README.md | 494 ++++++++++-------------------------------
img/peripheral-manager.png | Bin 0 -> 60660 bytes
img/peripheral_led_mapping.png | Bin 0 -> 25497 bytes
3 files changed, 115 insertions(+), 379 deletions(-)
-------------------------------------------------------------------------------
commit d055dd8a4a3aa53550a1b1f9db94225fe7c0f61b
Author: Benjamin Larsson <benjamin.larsson@iopsys.eu>
Date: 2021-04-11 13:08:18 +0200
update README.md
Base directory -> /
README.md | 477 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 420 insertions(+), 57 deletions(-)
-------------------------------------------------------------------------------
72 lines
2 KiB
Makefile
72 lines
2 KiB
Makefile
#
|
|
# Copyright (C) 2019 iopsys
|
|
#
|
|
# 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:=peripheral_manager
|
|
PKG_VERSION:=1.0.5
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_VERSION:=785166a9861a119623556163179915727896156b
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/peripheral-manager
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_MIRROR_HASH:=skip
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_LICENSE:=GPLv2
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
# support parallel build
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
# 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
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/peripheral_manager
|
|
CATEGORY:=Utilities
|
|
TITLE:=Application deamon for handling of peripheral
|
|
URL:=
|
|
DEPENDS:=+libuci +libubus +libblobmsg-json @+PACKAGE_bcmkernel:bcmkernel PACKAGE_bcmkernel:bcmkernel
|
|
endef
|
|
|
|
define Package/peripheral_manager/description
|
|
Application handling peripheral
|
|
endef
|
|
|
|
TARGET_CFLAGS := \
|
|
-I$(STAGING_DIR)/usr/include/bcm963xx/shared/opensource/include/bcm963xx \
|
|
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx \
|
|
$(TARGET_CFLAGS)
|
|
|
|
PERIPHERAL_OPTONS:=-DSELECT_BRCM_BOARD=0
|
|
|
|
ifneq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),)
|
|
PERIPHERAL_OPTONS:= -DSELECT_BRCM_BOARD=1
|
|
endif
|
|
|
|
CMAKE_OPTIONS += \
|
|
-DCMAKE_BUILD_TYPE:String="Release" \
|
|
$(PERIPHERAL_OPTONS) \
|
|
|
|
define Package/peripheral_manager/install
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/etc/
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/peripheral_manager $(1)/sbin/
|
|
# $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpio_test $(1)/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,peripheral_manager))
|