Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branch : master
commit 579b1e6a43fcd91fef7ba60d3794543c9572fc5b Author: Sven Eckelmann sven@narfation.org Date: Tue Jul 17 21:20:14 2018 +0200
batman-adv-devel: 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
579b1e6a43fcd91fef7ba60d3794543c9572fc5b batman-adv-devel/Makefile | 7 +------ batman-adv-devel/files/lib/netifd/proto/batadv.sh | 0 batman-adv-devel/files/lib/netifd/proto/batadv_vlan.sh | 0 3 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/batman-adv-devel/Makefile b/batman-adv-devel/Makefile index 4da264f..411cf91 100644 --- a/batman-adv-devel/Makefile +++ b/batman-adv-devel/Makefile @@ -90,12 +90,7 @@ define Build/Compile endef
define KernelPackage/batman-adv-devel/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-devel)) diff --git a/batman-adv-devel/files/lib/netifd/proto/batadv.sh b/batman-adv-devel/files/lib/netifd/proto/batadv.sh old mode 100644 new mode 100755 diff --git a/batman-adv-devel/files/lib/netifd/proto/batadv_vlan.sh b/batman-adv-devel/files/lib/netifd/proto/batadv_vlan.sh old mode 100644 new mode 100755