abfaaac65929 netifd: fix const-discard warnings in attr/devtype parsing 52c7db3a2beb bridge: remove kernel member on teardown regardless of device claim state 741fd3c162df bridge: attempt delbr unconditionally on bridge destroy 2909720f8cf1 system-linux: detach device from stale bridge before adding it 67f06ef1600a interface: detach hotplug members on reassignment bb7f0a456dce interface-ip: skip offlink handling on point-to-point links c1f9d4df847a system-linux: guard PSE port priority for older kernel headers b087b0773366 build: prefer libnl-tiny and fix LIBNL detection on reconfigure b0063715d7ea device: add broadcast_flood bridge port setting 973354a1a6f0 interface: add carrier_loss_delay option d155e4cefbd9 interface: add restart support Signed-off-by: Felix Fietkau <nbd@nbd.name>
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=netifd
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/netifd.git
|
|
PKG_SOURCE_DATE:=2026-06-16
|
|
PKG_SOURCE_VERSION:=d155e4cefbd964b7c022618c1d74b549de25e8a8
|
|
PKG_MIRROR_HASH:=a9b9cf01e800ac072a353a6c7f7c7854b5b9139b336645b50cc21c5b8ef38390
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
|
|
|
PKG_LICENSE:=GPL-2.0
|
|
PKG_LICENSE_FILES:=
|
|
|
|
PKG_BUILD_FLAGS:=lto
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/netifd
|
|
SECTION:=base
|
|
CATEGORY:=Base system
|
|
DEPENDS:=+libuci +libnl-tiny +libubus +ubus +ubusd +jshn +libubox +libudebug \
|
|
+ucode +ucode-mod-fs +ucode-mod-ubus +ucode-mod-uloop +ucode-mod-uci
|
|
TITLE:=OpenWrt Network Interface Configuration Daemon
|
|
endef
|
|
|
|
define Package/netifd/conffiles
|
|
/etc/udhcpc.user
|
|
/etc/udhcpc.user.d/
|
|
endef
|
|
|
|
TARGET_CFLAGS += \
|
|
-I$(STAGING_DIR)/usr/include/libnl-tiny \
|
|
-I$(STAGING_DIR)/usr/include
|
|
|
|
CMAKE_OPTIONS += \
|
|
-DLIBNL_LIBS=-lnl-tiny \
|
|
-DDEBUG=1
|
|
|
|
define Package/netifd/install
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netifd $(1)/sbin/
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/etc/udhcpc.user.d/
|
|
$(CP) \
|
|
$(PKG_BUILD_DIR)/scripts/utils.sh \
|
|
$(PKG_BUILD_DIR)/scripts/netifd-proto.sh \
|
|
$(1)/lib/netifd/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,netifd))
|