mirror of
https://github.com/openwrt/routing.git
synced 2026-01-09 19:40:08 +04:00
batman-adv: Simplify installation of files
It is not necessary to install each file manually to the target path. A simple recursive copy is enough. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
@@ -86,12 +86,7 @@ define Build/Compile
|
||||
endef
|
||||
|
||||
define KernelPackage/batman-adv/install
|
||||
$(INSTALL_DIR) $(1)/etc/config $(1)/etc/hotplug.d/net $(1)/etc/hotplug.d/iface $(1)/lib/batman-adv $(1)/usr/sbin $(1)/lib/netifd/proto
|
||||
$(INSTALL_DATA) ./files/etc/config/batman-adv $(1)/etc/config
|
||||
$(INSTALL_DATA) ./files/lib/batman-adv/config.sh $(1)/lib/batman-adv
|
||||
$(INSTALL_BIN) ./files/etc/hotplug.d/net/99-batman-adv $(1)/etc/hotplug.d/net
|
||||
$(INSTALL_BIN) ./files/lib/netifd/proto/batadv.sh $(1)/lib/netifd/proto
|
||||
$(INSTALL_BIN) ./files/lib/netifd/proto/batadv_vlan.sh $(1)/lib/netifd/proto
|
||||
$(CP) ./files/. $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,batman-adv))
|
||||
|
||||
0
batman-adv/files/lib/netifd/proto/batadv.sh
Normal file → Executable file
0
batman-adv/files/lib/netifd/proto/batadv.sh
Normal file → Executable file
0
batman-adv/files/lib/netifd/proto/batadv_vlan.sh
Normal file → Executable file
0
batman-adv/files/lib/netifd/proto/batadv_vlan.sh
Normal file → Executable file
Reference in New Issue
Block a user