aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2017-01-22 11:43:13 -0600
committerEmil Velikov2017-01-27 09:48:16 -0600
commit9c924e823543d24476d73b3f5878935552f31891 (patch)
tree8cae15f9ff489c6dc77eb46b1b6936bfe11eba5d
parentff38457e0f72b24d3a9952893afae4f68da8e479 (diff)
downloadexternal-libdrm-9c924e823543d24476d73b3f5878935552f31891.tar.gz
external-libdrm-9c924e823543d24476d73b3f5878935552f31891.tar.xz
external-libdrm-9c924e823543d24476d73b3f5878935552f31891.zip
android: silence ~550 warnings
Analogous to the autoconf build add the following to the build -Wno-unused-parameter -Wno-missing-field-initializers Cc: Chih-Wei Huang <cwhuang@android-x86.org> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r--Android.common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 71f14ec3..f57b8d37 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -3,6 +3,10 @@ LOCAL_CFLAGS += \
3 -DHAVE_VISIBILITY=1 \ 3 -DHAVE_VISIBILITY=1 \
4 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 4 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
5 5
6LOCAL_CFLAGS += \
7 -Wno-unused-parameter \
8 -Wno-missing-field-initializers
9
6# Quiet down the build system and remove any .h files from the sources 10# Quiet down the build system and remove any .h files from the sources
7LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES)) 11LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
8LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH) 12LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)