tools: add a swupdate- prefix to each tool
diff mbox series

Message ID 20190624122811.27716-1-sbabic@denx.de
State New
Headers show
Series
  • tools: add a swupdate- prefix to each tool
Related show

Commit Message

Stefano Babic June 24, 2019, 12:28 p.m. UTC
Current names are too generic and can conflict with names of other
packages. To provide inclusion in Linux distro, SWUpdate should provide
well defined names that are unique on filesystem.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 tools/Makefile                                      | 8 ++++----
 tools/{client.c => swupdate-client.c}               | 0
 tools/{hawkbitcfg.c => swupdate-hawkbitcfg.c}       | 0
 tools/{progress.c => swupdate-progress.c}           | 0
 tools/{sendtohawkbit.c => swupdate-sendtohawkbit.c} | 0
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename tools/{client.c => swupdate-client.c} (100%)
 rename tools/{hawkbitcfg.c => swupdate-hawkbitcfg.c} (100%)
 rename tools/{progress.c => swupdate-progress.c} (100%)
 rename tools/{sendtohawkbit.c => swupdate-sendtohawkbit.c} (100%)

Patch
diff mbox series

diff --git a/tools/Makefile b/tools/Makefile
index a4c4c29..f9db3d4 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -9,10 +9,10 @@ 
 # SPDX-License-Identifier:     GPL-2.0-or-later
 
 lib-y += \
-	 client.o \
-	 progress.o \
-	 hawkbitcfg.o \
-	 sendtohawkbit.o
+	 swupdate-client.o \
+	 swupdate-progress.o \
+	 swupdate-hawkbitcfg.o \
+	 swupdate-sendtohawkbit.o
 
 # # Uncomment the next lines to integrate the compiling/linking of
 # # any .c files placed alongside the above "official" tools in the
diff --git a/tools/client.c b/tools/swupdate-client.c
similarity index 100%
rename from tools/client.c
rename to tools/swupdate-client.c
diff --git a/tools/hawkbitcfg.c b/tools/swupdate-hawkbitcfg.c
similarity index 100%
rename from tools/hawkbitcfg.c
rename to tools/swupdate-hawkbitcfg.c
diff --git a/tools/progress.c b/tools/swupdate-progress.c
similarity index 100%
rename from tools/progress.c
rename to tools/swupdate-progress.c
diff --git a/tools/sendtohawkbit.c b/tools/swupdate-sendtohawkbit.c
similarity index 100%
rename from tools/sendtohawkbit.c
rename to tools/swupdate-sendtohawkbit.c