Skip to content
Snippets Groups Projects
Commit 6ed645ba authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan Committed by Gerrit - the friendly Code Review server
Browse files

dataservices: Makefile changes to enable CLANG

Update the makefiles to enable CLANG compilation. Also fix the
corresponding warnings and errors caused by CLANG enablement.

CRs-Fixed: 971746
Change-Id: I16dd64aaf219a59aba6a612002dab78c877cb8b9
parent 4e346939
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ LOCAL_CFLAGS += -D _BSD_SOURCE ...@@ -26,6 +26,7 @@ LOCAL_CFLAGS += -D _BSD_SOURCE
LOCAL_C_INCLUDES := $(LOCAL_PATH) LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CLANG := true
LOCAL_MODULE := datatop LOCAL_MODULE := datatop
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
......
...@@ -93,7 +93,7 @@ int dtop_poll_periodically(struct dtop_linked_list *dpg_list, FILE *fw) ...@@ -93,7 +93,7 @@ int dtop_poll_periodically(struct dtop_linked_list *dpg_list, FILE *fw)
struct timeval tv, timeout; struct timeval tv, timeout;
fd_set rfds; fd_set rfds;
time_t curtime, endtime; time_t curtime, endtime;
int inp, quit; int inp, quit = 0;
struct dtop_linked_list *curr_ptr = dpg_list; struct dtop_linked_list *curr_ptr = dpg_list;
struct dtop_data_point_gatherer *dpset; struct dtop_data_point_gatherer *dpset;
struct timeval ftime, itime, polltime; struct timeval ftime, itime, polltime;
......
...@@ -12,7 +12,7 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH) ...@@ -12,7 +12,7 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_CLANG := true
LOCAL_MODULE := librmnetctl LOCAL_MODULE := librmnetctl
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
LOCAL_PRELINK_MODULE := false LOCAL_PRELINK_MODULE := false
......
...@@ -8,6 +8,7 @@ LOCAL_CFLAGS := -Wall -Werror ...@@ -8,6 +8,7 @@ LOCAL_CFLAGS := -Wall -Werror
LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_CLANG := true
LOCAL_MODULE := sockev LOCAL_MODULE := sockev
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment