diff options
author | Mauro Rossi <issor.oruam@gmail.com> | 2016-06-02 21:15:35 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-06-02 22:31:44 +0100 |
commit | 278c2212ac137c19438a84072c8d3150b5a5b4f6 (patch) | |
tree | 9f14b2b894eb3cb34824b086c755d5809679fde3 /src/mesa/drivers/dri/i965/Android.mk | |
parent | 4143245c23c25a8b81c4ab6ca3d9211593edf542 (diff) | |
download | external_mesa3d-278c2212ac137c19438a84072c8d3150b5a5b4f6.zip external_mesa3d-278c2212ac137c19438a84072c8d3150b5a5b4f6.tar.gz external_mesa3d-278c2212ac137c19438a84072c8d3150b5a5b4f6.tar.bz2 |
isl: add support for Android libmesa_isl static library
isl library is needed to build i965, libmesa_isl static library is added
to fix related Android building errors.
Any attempt to build libmesa_genxml as phony package module failed to deliver
gen{7,75,8,9}_pack.h generated headers, needed for libmesa_isl_gen{7,75,8,9}
Due to constraints in Android Build System, libmesa_genxml is built as static,
at least one source is needed, so dummy.c is autogenerated for this scope,
libmesa_genxml dependency is declared using LOCAL_WHOLE_STATIC_LIBRARIES,
to avoid building errors due to missing genxml/gen{7,75,8,9}_pack.h headers.
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/Android.mk')
-rw-r--r-- | src/mesa/drivers/dri/i965/Android.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/Android.mk b/src/mesa/drivers/dri/i965/Android.mk index 9fd3a30..e8a379f 100644 --- a/src/mesa/drivers/dri/i965/Android.mk +++ b/src/mesa/drivers/dri/i965/Android.mk @@ -52,7 +52,8 @@ LOCAL_SRC_FILES := \ $(i965_FILES) LOCAL_WHOLE_STATIC_LIBRARIES := \ - $(MESA_DRI_WHOLE_STATIC_LIBRARIES) + $(MESA_DRI_WHOLE_STATIC_LIBRARIES) \ + libmesa_isl LOCAL_SHARED_LIBRARIES := \ $(MESA_DRI_SHARED_LIBRARIES) \ |