linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Filipe Brandenburger <filbranden@google.com>
Cc: Arik Nemtsov <arik@wizery.com>,
	linux-wireless@vger.kernel.org, Elliott Hughes <enh@google.com>,
	Christopher Wiley <wiley@google.com>,
	Ying Wang <wangying@google.com>
Subject: Re: [PATCH 0/2] iw: fixes to Android.mk to include "iw" in AOSP builds
Date: Thu, 13 Aug 2015 20:33:07 +0200	[thread overview]
Message-ID: <1439490787.2114.36.camel@sipsolutions.net> (raw)
In-Reply-To: <CADU+-uDS2C4w-dcbR8Rxx+jRfG7kNvu8JTncH-fxDnSp5NOBfQ@mail.gmail.com> (sfid-20150813_185558_560372_445AA122)

On Thu, 2015-08-13 at 09:55 -0700, Filipe Brandenburger wrote:

> Long term, considering this is in AOSP and is part of eng/userdebug
> builds, it's likely to be automatically available in future versions
> of Android.

Yeah, but most vendors don't actually build/run/ship AOSP nor
necessarily an unmodified iw, so it's likely not all that helpful.

> We ended up having to tweak the Android.mk again in the AOSP tree,
> since the current one is doing an "include" of the external Makefile,
> which in turns overrides the default "clean" rule and leaks some
> pattern rules such as %.o, etc. which affect the rest of Android
> build. For more details, please take a look at this Gerrit:
> https://android-review.googlesource.com/166104
> 
> I'm cc'ing Ying who spotted the problem and suggested the changes.

Thanks, but I'm not going to apply that patch in my tree - I don't want
to have to worry about the duplication of LOCAL_SRC_FILES.

> One problem with the current approach is that there's duplication of
> the names of the source files between Android.mk and Makefile, I was
> thinking perhaps we could introduce a common.mk or sources.mk that's
> included from both and only has the variables that can be used by
> both? Suggestions are welcome.

That seems reasonable.

> As mentioned in the initial thread, one option is to drop Android.mk
> from upstream altogether and maintain it in our AOSP downstream.

Given what I just said above about vendor builds etc. not being AOSP,
that probably wouldn't be all that helpful; I'm pretty sure it'd make
our life more difficult so I don't really like that idea much.

johannes

  reply	other threads:[~2015-08-13 18:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 21:35 [PATCH 0/2] iw: fixes to Android.mk to include "iw" in AOSP builds Filipe Brandenburger
2015-07-30 21:35 ` [PATCH 1/2] iw: fix references to libnl in Android.mk Filipe Brandenburger
2015-07-30 21:36   ` enh
2015-07-30 21:47     ` [PATCH v2 " Filipe Brandenburger
2015-07-31  6:55       ` Arik Nemtsov
2015-07-30 21:35 ` [PATCH 2/2] iw: remove android-nl.c with unneeded workaround Filipe Brandenburger
2015-07-31  6:56   ` Arik Nemtsov
2015-07-31 16:01     ` enh
2015-08-02  6:57       ` Arik Nemtsov
2015-08-02 16:11         ` enh
2015-08-13  9:01 ` [PATCH 0/2] iw: fixes to Android.mk to include "iw" in AOSP builds Johannes Berg
2015-08-13 16:55   ` Filipe Brandenburger
2015-08-13 18:33     ` Johannes Berg [this message]
2015-08-13 19:48       ` enh
2015-08-13 20:01         ` Johannes Berg
2015-08-13 20:44           ` enh
2015-08-13 20:47             ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439490787.2114.36.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=arik@wizery.com \
    --cc=enh@google.com \
    --cc=filbranden@google.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=wangying@google.com \
    --cc=wiley@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).