mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
ef24475658
c62d85cf7a0d bridge: check port bpdu filter status and apply it to the config 25555611be91 libnetlink: turn rtnetlink error answers into debug msgs 462b3a491347 build: use pthread cflags/ldflags Signed-off-by: Felix Fietkau <nbd@nbd.name>
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
#
|
|
# Copyright (C) 2021 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ustp
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/ustp.git
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_DATE:=2021-09-21
|
|
PKG_SOURCE_VERSION:=462b3a491347e452c15220861949b1d6371fa59e
|
|
PKG_MIRROR_HASH:=0e96edc983cf437b95874e5715d743f30bb826d8757dc3771ff872ab9cf18f35
|
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
|
PKG_LICENSE:=GPL-2.0
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/ustp
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=OpenWrt STP/RSTP daemon
|
|
DEPENDS:=+libubox +libubus
|
|
endef
|
|
|
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include -flto
|
|
TARGET_LDFLAGS += -flto -fuse-linker-plugin
|
|
|
|
define Package/ustp/install
|
|
$(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ipkg-install/sbin/* $(1)/sbin/
|
|
$(INSTALL_BIN) ./files/ustpd.init $(1)/etc/init.d/ustpd
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ustp))
|