diff options
| author | Sven Eckelmann <sven@narfation.org> | 2018-07-17 21:20:14 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2018-07-17 21:23:54 +0200 |
| commit | 7a9336380a768036dfef14215cdc8d7e86863e1a (patch) | |
| tree | 763d0594d0298d44756122a8a556d8a9e4d7513e | |
| parent | 303c282565de80b29e06da7b3ec16c110097e27d (diff) | |
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>
| -rw-r--r-- | batman-adv/Makefile | 7 | ||||
| -rwxr-xr-x[-rw-r--r--] | batman-adv/files/lib/netifd/proto/batadv.sh | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | batman-adv/files/lib/netifd/proto/batadv_vlan.sh | 0 |
3 files changed, 1 insertions, 6 deletions
diff --git a/batman-adv/Makefile b/batman-adv/Makefile index 1cab1d0..3885a31 100644 --- a/batman-adv/Makefile +++ b/batman-adv/Makefile @@ -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)) diff --git a/batman-adv/files/lib/netifd/proto/batadv.sh b/batman-adv/files/lib/netifd/proto/batadv.sh index 1e0c9d0..1e0c9d0 100644..100755 --- a/batman-adv/files/lib/netifd/proto/batadv.sh +++ b/batman-adv/files/lib/netifd/proto/batadv.sh diff --git a/batman-adv/files/lib/netifd/proto/batadv_vlan.sh b/batman-adv/files/lib/netifd/proto/batadv_vlan.sh index 85002c3..85002c3 100644..100755 --- a/batman-adv/files/lib/netifd/proto/batadv_vlan.sh +++ b/batman-adv/files/lib/netifd/proto/batadv_vlan.sh |
