From: rafael.barbalho@intel.com Subject: [PATCH 0/5] Android build system clean-up Date: Fri, 31 Jan 2014 14:57:35 +0000 Message-ID: <1391180260-23101-1-git-send-email-rafael.barbalho@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id C1872F9CDF for ; Fri, 31 Jan 2014 06:57:48 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org From: Rafael Barbalho IGT in android still had some hang-ups from the initial porting, we were re-compiling the lib directory every time for each tool or test binary. It also could get its include paths confused due to overloaded make variable names. It also wasn't possible to do the typical android thing of issuing the "mm" command inside either the tests or tools directory to only rebuild & install the binaries that you modified. The patch series tries to clean all this up by using the new include path mechanism introduced in recent versions of android and making the lib directory as a static library in the same way that is it done in the autotools version. Rafael Barbalho (5): android: Handle the case when android doesn't have mmap64 android: Clean-up common makefile directives android: Add makefile for the lib directory android: Add the generation of vesion.h & config.h to lib android: Change tests & tools directory to use the lib directory Android.mk | 5 +--- lib/Android.mk | 64 +++++++++++++++++++++++++++++++++++++++++++++++ lib/intel_gpu_tools.h | 11 ++++++++ tests/Android.mk | 69 ++++----------------------------------------------- tools/Android.mk | 37 ++++----------------------- 5 files changed, 86 insertions(+), 100 deletions(-) create mode 100644 lib/Android.mk -- 1.8.5.2