1 include $(TOPDIR)/rules.mk
7 PKG_SOURCE_URL=$(LEDE_GIT)/project/netifd.git
8 PKG_SOURCE_DATE:=2017-01-17
9 PKG_SOURCE_VERSION:=a057f6e48f383c7e81cb22aa806216878d87947b
10 PKG_MIRROR_HASH:=8b74721b3c3b2912df4271f0a60c2137642eeb7753d3e656f7a508d8cac013e9
11 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
18 include $(INCLUDE_DIR)/package.mk
19 include $(INCLUDE_DIR)/cmake.mk
24 DEPENDS:=+libuci +libnl-tiny +libubus +ubus +ubusd +jshn +libubox
25 TITLE:=OpenWrt Network Interface Configuration Daemon
29 -I$(STAGING_DIR)/usr/include/libnl-tiny \
30 -I$(STAGING_DIR)/usr/include
33 -DLIBNL_LIBS=-lnl-tiny \
36 define Package/netifd/install
37 $(INSTALL_DIR) $(1)/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/netifd $(1)/sbin/
40 $(CP) $(PKG_BUILD_DIR)/scripts/* $(1)/lib/netifd/
43 $(eval $(call BuildPackage,netifd))