mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
70 lines
1.5 KiB
Makefile
70 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2018 IOPSYS Software Solutions AB
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_RELEASE:=1
|
|
PKG_VERSION:=0.2
|
|
PKG_SOURCE_VERSION:=ef49d57c3824df4dfb4921d39461e2bd14f918a7
|
|
|
|
|
|
ifeq ($(CONFIG_ENDPT_OPEN),y)
|
|
BRCM_KERNEL_PROFILE=$(shell echo $(CONFIG_BCM_KERNEL_PROFILE) | sed s/\"//g)
|
|
PKG_SOURCE:=endptmngr-$(BRCM_KERNEL_PROFILE)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://download.iopsys.eu/iopsys/opensdk/
|
|
PKG_NAME:=endptmngr-open
|
|
PATCH_DIR:=
|
|
else
|
|
PKG_SOURCE_URL:=git@dev.iopsys.eu:iopsys/endptmngr
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_NAME:=endptmngr
|
|
|
|
PKG_LICENSE:=GPLv2
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
endif
|
|
|
|
RSTRIP:=true
|
|
export BUILD_DIR
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/endptmngr/config
|
|
source "$(SOURCE)/Config.in"
|
|
endef
|
|
|
|
define Package/endptmngr
|
|
CATEGORY:=Utilities
|
|
TITLE:=Brcmslic
|
|
URL:=
|
|
DEPENDS:= +libubox +ubus +libpicoevent @(PACKAGE_bcmkernel||PACKAGE_bcmopen) @TARGET_HAS_VOICE
|
|
endef
|
|
|
|
define Package/endptmngr/description
|
|
endptmngr
|
|
endef
|
|
|
|
ifeq ($(CONFIG_ENDPT_OPEN),y)
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
endif
|
|
|
|
|
|
define Package/endptmngr/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
cp $(PKG_BUILD_DIR)/files/etc/init.d/* $(1)/etc/init.d/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/endptmngr $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,endptmngr))
|