From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 24 Sep 2013 10:32:03 +0300 From: Andrei Emeltchenko To: Lukasz Rymanowski Cc: Frederic Danis , Marcel Holtmann , linux-bluetooth@vger.kernel.org Subject: Re: [PATCH 1/2] android: Add skeleton of BlueZ Android daemon Message-ID: <20130924073124.GA26962@aemeltch-MOBL1> References: <1379679871-29623-1-git-send-email-frederic.danis@linux.intel.com> <226042C8-264A-469E-8D6A-F41141DC0552@holtmann.org> <52400F2B.9010501@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-ID: Hi All, On Mon, Sep 23, 2013 at 09:28:44PM +0200, Lukasz Rymanowski wrote: > Hi Marcel, > > On Mon, Sep 23, 2013 at 11:51 AM, Frederic Danis > wrote: > > Hello Marcel, > > > > On 21/09/2013 19:14, Marcel Holtmann wrote: > >> > >> Hi Fred, > >> > >>> Define local mapping to glib path, otherwise this has to be inside > >>> central > >>> place in the build repository. > >>> > >>> Retrieve Bluetooth version from configure.ac. > >>> --- > >>> .gitignore | 2 + > >>> Android.mk | 9 ++++ > >>> Makefile.am | 1 + > >>> Makefile.android | 7 ++++ > >>> android/Android.mk | 24 +++++++++++ > >>> android/main.c | 119 > >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++ > >>> configure.ac | 5 +++ > >>> 7 files changed, 167 insertions(+) > >>> create mode 100644 Android.mk > >>> create mode 100644 Makefile.android > >>> create mode 100644 android/Android.mk > >>> create mode 100644 android/main.c > >> > >> > >> lets split this out a little bit. Code additions should not be intermixed > >> with additions to the build system and especially configure options. > >> > >> I rather not have a top-level Android.mk. It should be enough to provide > >> an android/Android.mk. > > BTW, do you expect to have only one Android.mk for the whole project or > this is OK for you to have smaller Android.mk in different subfolders like > /src/shared etc. Both ways are valid. While having a single huge Android makefile is somehow make sense it would have several disadvantages: - we cannot use local build with "mm" for building for example only tools or libs - Android.mk will become very large and difficult to read Best regards Andrei Emeltchenko