标签:ack 安装文件 his 描述 services color span pack make
ppp 添加ipv6菜单项
# ppp目录 package/network/services/ppp/Makefile # 定义子菜单项 pppipv6 define Package/pppipv6 # 对应父菜单 $(call Package/ppp/Default) DEPENDS:=@(PACKAGE_ppp||PACKAGE_ppp-multilink) TITLE:=with IPv6 endef # 定义描述 define Package/pppipv6/description This package is compiled with IPv4 and IPv6 script support. endef # 定义安装文件 define Package/pppipv6/install $(INSTALL_BIN) ./files/ppp6.sh $(1)/lib/netifd/proto/ppp.sh $(INSTALL_BIN) ./files/lib/netifd/ppp6-up $(1)/lib/netifd/ endef # 执行调用 $(eval $(call BuildPackage,pppipv6)) # 判断IPV6选择, 就执行 ifdef CONFIG_IPV6 $(INSTALL_BIN) ./files/ppp6.sh $(1)/lib/netifd/proto/ppp.sh $(INSTALL_BIN) ./files/lib/netifd/ppp6-up $(1)/lib/netifd/ endif
标签:ack 安装文件 his 描述 services color span pack make
原文地址:https://www.cnblogs.com/listenerln/p/10579828.html