* [PATCH 1/2] Android: fix building of modetest and proptest
@ 2017-03-22 19:05 Rob Herring
2017-03-22 19:05 ` [PATCH 2/2] Android: disable pointer-arith and enum-conversion Rob Herring
0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2017-03-22 19:05 UTC (permalink / raw)
To: Emil Velikov; +Cc: dri-devel
These tests depend on tests/util/ headers, but expect the include path
to be tests/.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Android.mk | 2 ++
tests/util/Android.mk | 2 ++
2 files changed, 4 insertions(+)
diff --git a/Android.mk b/Android.mk
index 5209059e670f..292be2360263 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,6 +24,8 @@
LIBDRM_COMMON_MK := $(call my-dir)/Android.common.mk
LOCAL_PATH := $(call my-dir)
+LIBDRM_TOP := $(LOCAL_PATH)
+
include $(CLEAR_VARS)
# Import variables LIBDRM_{,H_,INCLUDE_H_,INCLUDE_VMWGFX_H_}FILES
diff --git a/tests/util/Android.mk b/tests/util/Android.mk
index 7656c4c29883..12eccb42add3 100644
--- a/tests/util/Android.mk
+++ b/tests/util/Android.mk
@@ -32,5 +32,7 @@ LOCAL_SHARED_LIBRARIES := libdrm
LOCAL_SRC_FILES := $(UTIL_FILES)
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LIBDRM_TOP)/tests
+
include $(LIBDRM_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)
--
2.10.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] Android: disable pointer-arith and enum-conversion
2017-03-22 19:05 [PATCH 1/2] Android: fix building of modetest and proptest Rob Herring
@ 2017-03-22 19:05 ` Rob Herring
2017-04-03 16:48 ` Emil Velikov
0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2017-03-22 19:05 UTC (permalink / raw)
To: Emil Velikov; +Cc: dri-devel
Disable some more warnings from clang. These don't appear to be warnings
worth fixing.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Android.common.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Android.common.mk b/Android.common.mk
index f57b8d378565..35c0f02c213c 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -5,7 +5,9 @@ LOCAL_CFLAGS += \
LOCAL_CFLAGS += \
-Wno-unused-parameter \
- -Wno-missing-field-initializers
+ -Wno-missing-field-initializers \
+ -Wno-pointer-arith \
+ -Wno-enum-conversion
# Quiet down the build system and remove any .h files from the sources
LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
--
2.10.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] Android: disable pointer-arith and enum-conversion
2017-03-22 19:05 ` [PATCH 2/2] Android: disable pointer-arith and enum-conversion Rob Herring
@ 2017-04-03 16:48 ` Emil Velikov
0 siblings, 0 replies; 3+ messages in thread
From: Emil Velikov @ 2017-04-03 16:48 UTC (permalink / raw)
To: Rob Herring; +Cc: ML dri-devel
On 22 March 2017 at 19:05, Rob Herring <robh@kernel.org> wrote:
> Disable some more warnings from clang. These don't appear to be warnings
> worth fixing.
>
Maybe we should, but considering nobody has bothered in a long time
let's go with this for now.
R-b and pushed the series.
-Emil
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-03 16:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22 19:05 [PATCH 1/2] Android: fix building of modetest and proptest Rob Herring
2017-03-22 19:05 ` [PATCH 2/2] Android: disable pointer-arith and enum-conversion Rob Herring
2017-04-03 16:48 ` Emil Velikov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.