aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/Android.ir3.mk
Commit message (Collapse)AuthorAgeFilesLines
* Android: Fixes for Q and RRoman Stratiienko2020-07-151-3/+3
| | | | | | | | | | | | | | | | Fix Android-Q build: - Use AOSP prebuilt bison by specifying $(BISON) variable - Use AOSP prebuilt flex by specifying $(LEX) variable Fix Android-R build: - Add M4 environmet variable for Android R and higher (See [1]) [1] - https://cs.android.com/android/_/android/platform/build/+/2bfffb9f48a78de12faf5da77424c0cecb70d6eb:Changes.md;dlc=997661002af1282d938e88c3c723037e42e5d283 Signed-off-by: Roman Stratiienko <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Tested-by: Mauro Rossi <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5894>
* android: freedreno/ir3: simplify generated sources rulesMauro Rossi2020-06-241-1/+17
| | | | | | | | | | | | | | | Simplification and alignment with meson's sources generation rules Changelog: - move rules from src/gallium/drivers/freedreno/Android.gen.mk to Android.ir3.mk - simplify LOCAL_GENERATED_SOURCES based on $(ir3_GENERATED_FILES) - remove includes of src/gallium/drivers/freedreno/Android.gen.mk - remove src/gallium/drivers/freedreno/Android.gen.mk Signed-off-by: Mauro Rossi <[email protected]> Acked-by: Rob Clark <[email protected]> Acked-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5580>
* android: freedreno/ir3: add missing generated sources and rulesMauro Rossi2020-06-241-2/+32
| | | | | | | | | | | | | | | | | | | | | | | Changelog: - Makefile.sources: add ir3_lexer.c and ir3_parser.{c,h} generated sources - Android.ir3.mk: add the necessary generated sources rules - Android.ir3.mk: add the necessary include paths - src/gallium/drivers/freedreno/Android.gen.mk: generate only ir3_nir_{imul,trig}.c for the moment Fixes the following building error: target C: libfreedreno_ir3 <= external/mesa/src/freedreno/ir3/ir3_assembler.c FAILED: out/target/product/x86_64/obj/STATIC_LIBRARIES/libfreedreno_ir3_intermediates/ir3/ir3_assembler.o ... external/mesa/src/freedreno/ir3/ir3_assembler.c:28:10: fatal error: 'ir3_parser.h' file not found ^~~~~~~~~~~~~~ 1 error generated. Fixes: 1e8808a4a0f ("freedreno/ir3: refactor out helper to compile shader from asm") Signed-off-by: Mauro Rossi <[email protected]> Acked-by: Rob Clark <[email protected]> Acked-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5580>
* mesa: android: freedreno: build libfreedreno_{drm,ir3} static libsAmit Pundir2019-05-061-0/+51
Add libfreedreno_drm/ir3 to the build Cc: Rob Clark <[email protected]> Cc: Emil Velikov <[email protected]> Cc: Amit Pundir <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: Alistair Strachan <[email protected]> Cc: Greg Hartman <[email protected]> Cc: Tapani Pälli <[email protected]> Cc: Jason Ekstrand <[email protected]> Fixes: b4476138d5a ("freedreno: move drm to common location") Fixes: aa0fed10d35 ("freedreno: move ir3 to common location") Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Signed-off-by: Amit Pundir <[email protected]> [jstultz: Tweaked to add extra ir3 files from master] Signed-off-by: John Stultz <[email protected]>