mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
tr471: 1.0.0
This commit is contained in:
parent
eadfc0feb3
commit
e800a445ae
1 changed files with 49 additions and 0 deletions
49
tr471/Makefile
Normal file
49
tr471/Makefile
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020-2024 iopsys
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=tr471d
|
||||||
|
PKG_VERSION:=1.0.0
|
||||||
|
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
LOCAL_DEV:=0
|
||||||
|
ifneq ($(LOCAL_DEV),1)
|
||||||
|
PKG_SOURCE_PROTO:=git
|
||||||
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/tr471d.git
|
||||||
|
PKG_SOURCE_VERSION:=4f942fa0d6b500cac0d5a6454627e0c91047432b
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||||
|
PKG_MIRROR_HASH:=skip
|
||||||
|
endif
|
||||||
|
|
||||||
|
PKG_LICENSE:=GPL-2.0-only
|
||||||
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include ../bbfdm/bbfdm.mk
|
||||||
|
|
||||||
|
define Package/tr471d
|
||||||
|
CATEGORY:=Utilities
|
||||||
|
TITLE:=TR-471 Data Model Support
|
||||||
|
DEPENDS:=+obudpst +libuci +libubox +libubus +libblobmsg-json +libbbfdm-api
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/tr471d/description
|
||||||
|
Package to add Device.IP.Diagnostics.IPLayerCapacityMetrics. data model support.
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKE_PATH:=src
|
||||||
|
|
||||||
|
define Package/tr471d/install
|
||||||
|
$(BBFDM_INSTALL_MS_DM) -u IPLayerCapacity $(PKG_BUILD_DIR)/src/libtr471d.so $(1) $(PKG_NAME)
|
||||||
|
$(BBFDM_INSTALL_SCRIPT) $(PKG_BUILD_DIR)/scripts/iplayercap $(1)
|
||||||
|
endef
|
||||||
|
|
||||||
|
ifeq ($(LOCAL_DEV),1)
|
||||||
|
define Build/Prepare
|
||||||
|
$(CP) ~/git/tr471d/* $(PKG_BUILD_DIR)/
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,tr471d))
|
||||||
Loading…
Add table
Reference in a new issue