2020-08-31 20:25:40 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mrp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-12-27 14:47:44 +01:00
|
|
|
MRP_VERSION = 1.2
|
2020-08-31 20:25:40 +02:00
|
|
|
MRP_SITE = $(call github,microchip-ung,mrp,v$(MRP_VERSION))
|
2021-12-27 14:47:44 +01:00
|
|
|
MRP_DEPENDENCIES = libev libmnl libnl cfm
|
2020-08-31 20:25:40 +02:00
|
|
|
MRP_LICENSE = GPL-2.0
|
|
|
|
MRP_LICENSE_FILES = LICENSE
|
|
|
|
|
2020-09-08 20:21:18 +02:00
|
|
|
define MRP_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -m 755 -D $(MRP_PKGDIR)/S65mrp \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S65mrp
|
|
|
|
endef
|
|
|
|
|
|
|
|
define MRP_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 644 $(MRP_PKGDIR)/mrp.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mrp.service
|
|
|
|
endef
|
|
|
|
|
2020-08-31 20:25:40 +02:00
|
|
|
$(eval $(cmake-package))
|