<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 28, 2016 at 6:33 PM, Mauro Rossi <span dir="ltr"><<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> While you're at it, I've got another build-breaking branch here:<br>
><br>
> <a href="https://cgit.freedesktop.org/~jekstrand/mesa/log/?h=wip/blorp-vulkan" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/~<wbr>jekstrand/mesa/log/?h=wip/<wbr>blorp-vulkan</a><br>
><br>
> It's almost reviewed so I'll be pushing soon. If you could provide a<br>
> squash-in, that would be great.<br>
><br>
> --Jason<br>
<br>
</span>Hi Jason,<br>
<br>
here it is, built marshmallow-x86 successfully after breaking commit<br>
"i965: Move blorp into src/intel/blorp"<br>
also attached to email, in case of gmail issues.<br>
<br>
This patch has to be applied on top of my former "[PATCH] android:<br>
<span class="">intel: Flatten the makefile structure"<br>
</span>KR<br></blockquote><div><br></div><div>Thanks for both patches! I'll get the first one pushed and I've already squashed the second into my blorp series so it doesn't break anything. I've only got one more build-system change in queue. I'll try and remember to CC you on it (and maybe even try my hand at making the Android changes).<br><br></div><div>--Jason<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Mauro<br>
<br>
>From 3ae8ea625b5cb091438de421d9762e<wbr>a8bcb8e2bc Mon Sep 17 00:00:00 2001<br>
From: Mauro Rossi <<a href="mailto:issor.oruam@gmail.com">issor.oruam@gmail.com</a>><br>
Date: Mon, 29 Aug 2016 03:08:02 +0200<br>
Subject: [PATCH] android: i965: Move blorp into src/intel/blorp<br>
<br>
Port to android of commit "i965: Move blorp into src/intel/blorp"<br>
<br>
libmesa_blorp static library module is built by <a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
<br>
the necessary dependencies and includes are declared<br>
and nir_opcodes.h generated header is included by using<br>
the macro generated-sources-dir-for which requires LOCAL_MODULE_CLASS<br>
---<br>
src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a> | 47 ++++++++++++++++++++++++++++++<wbr>++++++<br>
src/intel/Android.mk | 1 +<br>
src/mesa/drivers/dri/i965/<wbr>Android.mk | 1 +<br>
3 files changed, 49 insertions(+)<br>
create mode 100644 src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
<br>
diff --git a/src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a> b/src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
new file mode 100644<br>
index 0000000..268d5eb<br>
--- /dev/null<br>
+++ b/src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
@@ -0,0 +1,47 @@<br>
<span class="">+# Copyright © 2016 Intel Corporation<br>
+# Copyright © 2016 Mauro Rossi <<a href="mailto:issor.oruam@gmail.com">issor.oruam@gmail.com</a>><br>
+#<br>
+# Permission is hereby granted, free of charge, to any person obtaining a<br>
+# copy of this software and associated documentation files (the "Software"),<br>
+# to deal in the Software without restriction, including without limitation<br>
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,<br>
+# and/or sell copies of the Software, and to permit persons to whom the<br>
+# Software is furnished to do so, subject to the following conditions:<br>
+#<br>
+# The above copyright notice and this permission notice shall be included<br>
+# in all copies or substantial portions of the Software.<br>
+#<br>
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br>
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br>
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL<br>
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br>
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING<br>
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER<br>
+# DEALINGS IN THE SOFTWARE.<br>
</span>+<br>
+# ------------------------------<wbr>---------<br>
+# Build libmesa_blorp<br>
<span class="">+# ------------------------------<wbr>---------<br>
+<br>
+include $(CLEAR_VARS)<br>
+<br>
</span>+LOCAL_MODULE := libmesa_blorp<br>
<span class="">+<br>
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES<br>
+<br>
</span>+LOCAL_SRC_FILES := $(BLORP_FILES)<br>
+<br>
+LOCAL_C_INCLUDES := := \<br>
+ $(call generated-sources-dir-for,<wbr>STATIC_LIBRARIES,libmesa_nir,,<wbr>)/nir \<br>
+ $(MESA_TOP)/src/gallium/<wbr>auxiliary \<br>
+ $(MESA_TOP)/src/gallium/<wbr>include \<br>
<span class="">+ $(MESA_TOP)/src/mapi \<br>
+ $(MESA_TOP)/src/mesa \<br>
+ $(MESA_TOP)/src/mesa/drivers/<wbr>dri/i965<br>
+<br>
</span>+LOCAL_STATIC_LIBRARIES := libmesa_nir<br>
+<br>
+LOCAL_SHARED_LIBRARIES := libdrm_intel<br>
<span class="">+<br>
+include $(MESA_COMMON_MK)<br>
+include $(BUILD_STATIC_LIBRARY)<br>
diff --git a/src/intel/Android.mk b/src/intel/Android.mk<br>
</span>index 114b111..0e9c29d 100644<br>
--- a/src/intel/Android.mk<br>
+++ b/src/intel/Android.mk<br>
@@ -25,5 +25,6 @@ LOCAL_PATH := $(call my-dir)<br>
# Import variables<br>
include $(LOCAL_PATH)/Makefile.sources<br>
<br>
+include $(LOCAL_PATH)/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
include $(LOCAL_PATH)/<a href="http://Android.genxml.mk" rel="noreferrer" target="_blank">Android.genxml.<wbr>mk</a><br>
include $(LOCAL_PATH)/<a href="http://Android.isl.mk" rel="noreferrer" target="_blank">Android.isl.mk</a><br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>Android.mk<br>
b/src/mesa/drivers/dri/i965/<wbr>Android.mk<br>
index e6bcedb..32adb9a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>Android.mk<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>Android.mk<br>
@@ -178,6 +178,7 @@ LOCAL_SRC_FILES := \<br>
LOCAL_WHOLE_STATIC_LIBRARIES := \<br>
$(MESA_DRI_WHOLE_STATIC_<wbr>LIBRARIES) \<br>
$(I965_PERGEN_LIBS) \<br>
+ libmesa_blorp \<br>
libmesa_isl<br>
<br>
LOCAL_SHARED_LIBRARIES := \<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.4<br>
</font></span></blockquote></div><br></div></div>