public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] Android build sytem
@ 2013-11-12 11:50 oscar.mateo
  2013-11-12 11:50 ` [PATCH v2 01/11] build: list all test/tool/lib source files in their own Makefile.sources oscar.mateo
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: oscar.mateo @ 2013-11-12 11:50 UTC (permalink / raw)
  To: intel-gfx

From: Oscar Mateo <oscar.mateo@intel.com>

These patches aim to create an Android build system. This used to exist, but
the old Android.mk files were bit-rotten and therefore kicked out.

As suggested by Daniel Vetter and Damien Lespiau, as a fist step I extracted
the source files lists into a Makefile.sources which can be included by both
the autoconf files and the Android makefiles.

Changes since the last submission:

- Tabs when defining variables are fine, but fix missing "\" (thanks Damien).
- Drop some of the warning fixes and instead fix compilation flags.
- Reword comment and commit message in name conflict with Android's i915_drm.h
- Do not error on return-type (at least until Bionic correctly annotates
  "noreturn" on pthread_exit).

Oscar Mateo (11):
  build: list all test/tool/lib source files in their own
    Makefile.sources
  build: Fix missing "\" in tests/Makefile.sources
  build: Move logic to tests/Makefile.am and away from Makefile.sources
  lib: Move kms stuff from drmtest.c over to igt_kms.c
  rendercopy: Remove rendercopy.c
  tests/drm_get_client_auth: In Android, use gettid() instead of
    syscall(SYS_gettid)
  tests/gem_vmap_blits: Finish extracting gem_read
  build: Fix assorted compilation warnings
  lib/drmtest: Get the correct basename() under Android
  lib/igt_display: workaround a name conflict in Android
  build: New Android makefiles

 Android.mk                  |  530 +-----------------------------
 lib/Makefile.am             |   38 +--
 lib/Makefile.sources        |   37 +++
 lib/drmtest.c               |  744 +----------------------------------------
 lib/drmtest.h               |   76 +----
 lib/igt_display.h           |    4 +
 lib/igt_kms.c               |  764 +++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h               |  102 ++++++
 lib/intel_batchbuffer.h     |    2 +-
 lib/intel_gpu_tools.h       |    2 +-
 lib/intel_reg_map.c         |    4 +-
 lib/rendercopy.c            |   49 ---
 lib/rendercopy.h            |    2 -
 tests/Android.mk            |   77 +++++
 tests/Makefile.am           |  206 +-----------
 tests/Makefile.sources      |  203 ++++++++++++
 tests/drm_get_client_auth.c |   10 +-
 tests/gem_render_copy.c     |   21 ++
 tests/gem_vmap_blits.c      |   14 -
 tests/kms_cursor_crc.c      |    1 +
 tests/kms_flip.c            |    1 +
 tests/kms_pipe_crc_basic.c  |    1 +
 tests/kms_render.c          |    1 +
 tests/kms_setmode.c         |    1 +
 tests/pm_pc8.c              |    1 +
 tests/testdisplay.c         |    1 +
 tools/Android.mk            |   70 ++++
 tools/Makefile.am           |   54 +--
 tools/Makefile.sources      |   53 +++
 29 files changed, 1369 insertions(+), 1700 deletions(-)
 create mode 100644 lib/Makefile.sources
 create mode 100644 lib/igt_kms.c
 create mode 100644 lib/igt_kms.h
 delete mode 100644 lib/rendercopy.c
 create mode 100644 tests/Android.mk
 create mode 100644 tests/Makefile.sources
 create mode 100644 tools/Android.mk
 create mode 100644 tools/Makefile.sources

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-11-12 11:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 11:50 [PATCH v2 00/11] Android build sytem oscar.mateo
2013-11-12 11:50 ` [PATCH v2 01/11] build: list all test/tool/lib source files in their own Makefile.sources oscar.mateo
2013-11-12 11:50 ` [PATCH v2 02/11] build: Fix missing "\" in tests/Makefile.sources oscar.mateo
2013-11-12 11:50 ` [PATCH v2 03/11] build: Move logic to tests/Makefile.am and away from Makefile.sources oscar.mateo
2013-11-12 11:50 ` [PATCH v2 04/11] lib: Move kms stuff from drmtest.c over to igt_kms.c oscar.mateo
2013-11-12 11:50 ` [PATCH v2 05/11] rendercopy: Remove rendercopy.c oscar.mateo
2013-11-12 11:50 ` [PATCH v2 06/11] tests/drm_get_client_auth: In Android, use gettid() instead of syscall(SYS_gettid) oscar.mateo
2013-11-12 11:50 ` [PATCH v2 07/11] tests/gem_vmap_blits: Finish extracting gem_read oscar.mateo
2013-11-12 11:50 ` [PATCH v2 08/11] build: Fix assorted compilation warnings oscar.mateo
2013-11-12 11:50 ` [PATCH v2 09/11] lib/drmtest: Get the correct basename() under Android oscar.mateo
2013-11-12 11:50 ` [PATCH v2 10/11] lib/igt_display: workaround a name conflict in Android oscar.mateo
2013-11-12 11:50 ` [PATCH v2 11/11] build: New Android makefiles oscar.mateo
2013-11-12 11:55 ` [PATCH v2 00/11] Android build sytem Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox