Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: qemuarm: should it really have TUNE_ARCH armv5te?
Date: Sat, 22 Sep 2012 12:48:03 +0100	[thread overview]
Message-ID: <1348314483.10108.199.camel@ted> (raw)
In-Reply-To: <20120921155238.GH10268@jama.jama.net>

On Fri, 2012-09-21 at 17:52 +0200, Martin Jansa wrote:
> Even with last version of jansa/tune it does not really help with
> rebuilds
> 
> $ bitbake-diffsigs stamps.1348241943/*/armv5te-oe-linux-gnueabi/linux-libc-headers-3.4.3-r0.do_configure*
> basehash changed from 82dd3229952508550532e9ab37e78dc4 to 1d04ba204fe9afb1d346156dc066da93
> Variable TUNE_CCARGS value changed from  
> ${@bb.utils.contains("TUNE_FEATURES", "armv5", "-march=armv5${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}", "", d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "armv4", "-march=armv4${ARMPKGSFX_THUMB}", "", d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "thumb", "${ARM_THUMB_M_OPT}", "", d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "no-thumb-interwork", "-mno-thumb-interwork", "-mthumb-interwork", d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "-mfloat-abi=hard", "-mfloat-abi=softfp", d), "" ,d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "arm926ejs", "-mtune=arm926ej-s", "", d)} 
> to  
> ${@bb.utils.contains("TUNE_FEATURES", "armv5", "-march=armv5${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}", "", d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "armv4", "-march=armv4${ARMPKGSFX_THUMB}", "", d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "thumb", "${ARM_THUMB_M_OPT}", "", d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "no-thumb-interwork", "-mno-thumb-interwork", "-mthumb-interwork", d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "-mfloat-abi=hard", "-mfloat-abi=softfp", d), "" ,d)} 
> ${@bb.utils.contains("TUNE_FEATURES", "xscale", "-mtune=xscale", "", d)}
> Hash for dependent task linux-libc-headers_3.4.3.bb.do_patch changed from 4d1f46fa912bc21421d343811acab517 to 663e25ca238e049eaff02fd288c5342e
> 
> So even if I let both machines using only armv5 thumb dsp TUNE_FEATURES it still 
> rebuilds e.g. linux-libc-headers.
> 
> We can merge all those
> TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "xscale", "-mtune=xscale", "", d)}"
> fragmets to arch-armv5-dsp.inc, but that doesn't look very correct too (imagine someone who 
> wants to add new tune-magicfoo in his BSP which adds another possible value for TUNE_FEATURES
> but still uses armv5te feed.
> 
> Any idea?

TUNE_CCARGS[vardepvalue] = "${TUNE_CCARGS}"

This should flatten it. We care about the final value, not how its
obtained in this case.

Cheers,

Richard





  reply	other threads:[~2012-09-22 12:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11 13:01 qemuarm: should it really have TUNE_ARCH armv5te? Martin Jansa
2012-09-11 13:48 ` Martin Jansa
2012-09-11 15:51   ` ARM-tuning -- was " Mark Hatle
2012-09-11 15:59     ` Martin Jansa
2012-09-11 16:09       ` Mark Hatle
2012-09-11 16:22         ` Martin Jansa
2012-09-11 16:13     ` Koen Kooi
2012-09-11 18:40       ` Khem Raj
2012-09-11 18:53         ` Phil Blundell
2012-09-11 19:58           ` Khem Raj
2012-09-11 16:46 ` Phil Blundell
2012-09-11 16:53   ` Martin Jansa
2012-09-11 17:14     ` Phil Blundell
2012-09-11 17:21       ` Martin Jansa
2012-09-11 17:35         ` Martin Jansa
2012-09-11 17:37           ` Phil Blundell
2012-09-11 17:43             ` Martin Jansa
2012-09-11 18:00               ` Mark Hatle
2012-09-12 14:33 ` Richard Purdie
2012-09-13  6:20   ` Martin Jansa
2012-09-13 10:42     ` Richard Purdie
2012-09-13 12:14       ` Martin Jansa
2012-09-13 12:58         ` Richard Purdie
2012-09-15  7:01           ` Martin Jansa
2012-09-21 15:52             ` Martin Jansa
2012-09-22 11:48               ` Richard Purdie [this message]
2012-09-13 16:47       ` Mark Hatle
2012-09-13 17:02         ` Phil Blundell

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=1348314483.10108.199.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.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