tools: modemctrl tool rename, in favor of ipc-modem
authorPaul Kocialkowski <contact@paulk.fr>
Fri, 21 Feb 2014 21:52:09 +0000 (22:52 +0100)
committerPaul Kocialkowski <contact@paulk.fr>
Fri, 21 Feb 2014 21:52:09 +0000 (22:52 +0100)
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Android.mk
tools/Makefile.am
tools/ipc-modem.c [moved from tools/modemctrl.c with 99% similarity]

index cf55285..6de4d33 100644 (file)
@@ -93,14 +93,14 @@ include $(BUILD_STATIC_LIBRARY)
 
 include $(CLEAR_VARS)
 
-LOCAL_SRC_FILES := tools/modemctrl.c
+LOCAL_SRC_FILES := tools/ipc-modem.c
 
 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
 
 LOCAL_STATIC_LIBRARIES := libsamsung-ipc
 LOCAL_SHARED_LIBRARIES := libutils
 
-LOCAL_MODULE := ipc-modemctrl
+LOCAL_MODULE := ipc-modem
 LOCAL_MODULE_TAGS := optional
 
 include $(BUILD_EXECUTABLE)
index 5fb1362..188b64a 100644 (file)
@@ -5,9 +5,9 @@ AM_CFLAGS = \
        $(NULL)
 
 bin_PROGRAMS = \
-       modemctrl \
+       ipc-modem \
        $(NULL)
 
-modemctrl_SOURCES = modemctrl.c
-modemctrl_LDADD = $(top_builddir)/samsung-ipc/libsamsung-ipc.la
-modemctrl_LDFLAGS =
+ipc_modem_SOURCES = ipc-modem.c
+ipc_modem_LDADD = $(top_builddir)/samsung-ipc/libsamsung-ipc.la
+ipc_modem_LDFLAGS =
similarity index 99%
rename from tools/modemctrl.c
rename to tools/ipc-modem.c
index 91d0dc9..6e574bd 100644 (file)
@@ -456,7 +456,7 @@ int modem_stop(struct ipc_client *client)
 
 void print_help()
 {
-    printf("usage: modemctrl <command>\n");
+    printf("usage: ipc-modem <command>\n");
     printf("commands:\n");
     printf("\tstart                 boot modem and start read loop\n");
     printf("\tboot                  boot modem only\n");