linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Kacur <jkacur@redhat.com>
To: Henrik Austad <haustad@cisco.com>
Cc: linux-rt-users@vger.kernel.org, Henrik Austad <henrik@austad.us>
Subject: Re: [PATCH v2 3/4] Android: Expand match for android in ostype
Date: Thu, 22 Oct 2015 10:43:45 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LFD.2.20.1510221042270.5687@riemann> (raw)
In-Reply-To: <1445454011-18839-4-git-send-email-haustad@cisco.com>



On Wed, 21 Oct 2015, Henrik Austad wrote:

> From: Henrik Austad <henrik@austad.us>
> 
> Some buildsystems use androidabe, so an exact match will break in those
> circumstances.
> 
> Cc: John Kacur <jkacur@redhat.com>
> Signed-off-by: Henrik Austad <haustad@cisco.com>
> ---
>  src/arch/android/Makefile | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/src/arch/android/Makefile b/src/arch/android/Makefile
> index e25f67203e5a..2c4b4b7ef9ae 100644
> --- a/src/arch/android/Makefile
> +++ b/src/arch/android/Makefile
> @@ -1,10 +1,14 @@
>  
> -# Bionic (android) does not have:
> +# Android use Bionic for libc, and this does not have
>  # - pthread barriers
>  # - pthread_[gs]etaffinity
>  #
> -# Typically see something like "aarch64-linux-android"
> -ifeq (android,$(ostype))
> +# This is all handled by bionic.h based on flags we set here.
> +
> +# Typically see something like "aarch64-linux-android". However, in some
> +# buildsystems, it will be a variation of -androidabe.
> +ost=$(findstring android, $(ostype))
> +ifeq (android,$(ost))
>  	USE_BIONIC := 1
>  	CFLAGS += -DPTHREAD_BIONIC
>  
> @@ -13,9 +17,7 @@ ifeq (android,$(ostype))
>  	LIBS := $(filter-out -lrt,$(LIBS))
>  	LIBS := $(filter-out -lpthread,$(LIBS))
>  
> -# BIONIC does not support PI, barriers and has different files in
> -# include/. This means that currently, only these binaries will compile
> -# and link properly:
> +# Currently, only these binaries will compile and link properly for android
>  # - cyclictest
>  # - hackbench
>  	sources := cyclictest.c hackbench.c
> -- 
> 1.9.1
> 
> --

This change looks fine, of course, just be forewarned that I'll be 
depending on you to test anything that touches android only.

Thanks

Signed-off-by: John Kacur <jkacur@redhat.com>

  reply	other threads:[~2015-10-22  8:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21 19:00 [PATCH v2 0/4] Android: clean-up patches Henrik Austad
2015-10-21 19:00 ` [PATCH v2 1/4] Android: clean up the bypass ifdeffery Henrik Austad
2015-10-22  8:30   ` John Kacur
2015-10-21 19:00 ` [PATCH v2 2/4] Android: rename arch from bionic to android Henrik Austad
2015-10-22  8:36   ` John Kacur
2015-10-21 19:00 ` [PATCH v2 3/4] Android: Expand match for android in ostype Henrik Austad
2015-10-22  8:43   ` John Kacur [this message]
2015-10-21 19:00 ` [PATCH v2 4/4] rt-sched.h: do not unconditionally define syscall-numbers Henrik Austad
2015-10-22  9:43   ` John Kacur

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=alpine.LFD.2.20.1510221042270.5687@riemann \
    --to=jkacur@redhat.com \
    --cc=haustad@cisco.com \
    --cc=henrik@austad.us \
    --cc=linux-rt-users@vger.kernel.org \
    /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).