All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 09/15] bitbake.conf: move VENDOR variables from bitbake.conf to defaultsetup.conf
Date: Mon, 16 May 2011 15:24:13 +0100	[thread overview]
Message-ID: <1305555853.3424.78.camel@rex> (raw)
In-Reply-To: <51c904d03751c96d848617bb425f85635c33be87.1305422996.git.sgw@linux.intel.com>

On Sat, 2011-05-14 at 18:32 -0700, Saul Wold wrote:
> From: Martin Jansa <Martin.Jansa@gmail.com>
> 
> * empty TARGET_VENDOR was set before weak assignment in defaultsetup.conf
> * -oecore was changed to -oe to be more consistent with SDK_VENDOR as we had -oesdk as SDK_VENDOR and not -oecoresdk
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

I know I probably indicated otherwise but looking at this patch, I think
moving all these entries into distrosetup.conf is not desirable. The
real issue here is the default:

TARGET_VENDOR = "${BUILD_VENDOR}"

which when you think about it doesn't actually make much sense. I'm
happy for the default just to become:

TARGET_VENDOR = "-oe"

in bitbake.conf.

Cheers,

Richard


> ---
>  meta/conf/bitbake.conf             |    4 ----
>  meta/conf/distro/defaultsetup.conf |    5 ++++-
>  2 files changed, 4 insertions(+), 5 deletions(-)
> 
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 7c72de1..418a15d 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -62,7 +62,6 @@ target_datadir := "${datadir}"
>  
>  BUILD_ARCH = "${@os.uname()[4]}"
>  BUILD_OS = "${@os.uname()[0].lower()}"
> -BUILD_VENDOR = ""
>  BUILD_SYS = "${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}"
>  BUILD_PREFIX = ""
>  BUILD_CC_ARCH = ""
> @@ -70,7 +69,6 @@ BUILD_EXEEXT = ""
>  
>  HOST_ARCH = "${TARGET_ARCH}"
>  HOST_OS = "${TARGET_OS}"
> -HOST_VENDOR = "${TARGET_VENDOR}"
>  HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
>  HOST_PREFIX = "${TARGET_PREFIX}"
>  HOST_CC_ARCH = "${TARGET_CC_ARCH}"
> @@ -78,14 +76,12 @@ HOST_EXEEXT = ""
>  
>  TARGET_ARCH = "INVALID"
>  TARGET_OS = "INVALID"
> -TARGET_VENDOR = "${BUILD_VENDOR}"
>  TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}"
>  TARGET_PREFIX = "${TARGET_SYS}-"
>  TARGET_CC_ARCH = ""
>  
>  SDK_ARCH = "${BUILD_ARCH}"
>  SDK_OS = "${BUILD_OS}"
> -SDK_VENDOR = "-oesdk"
>  SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}${@['-' + bb.data.getVar('SDK_OS', d, 1), ''][bb.data.getVar('SDK_OS', d, 1) == ('' or 'custom')]}"
>  SDK_PREFIX = "${SDK_SYS}-"
>  SDK_CC_ARCH = "${BUILD_CC_ARCH}"
> diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf
> index 8da6c0a..dd9ffc3 100644
> --- a/meta/conf/distro/defaultsetup.conf
> +++ b/meta/conf/distro/defaultsetup.conf
> @@ -3,7 +3,10 @@ include conf/distro/include/default-versions.inc
>  include conf/distro/include/default-distrovars.inc
>  include conf/distro/include/world-broken.inc
>  
> -TARGET_VENDOR ?= "-oecore"
> +BUILD_VENDOR ?= ""
> +TARGET_VENDOR ?= "-oe"
> +HOST_VENDOR ?= "${TARGET_VENDOR}"
> +SDK_VENDOR ?= "-oesdk"
>  
>  TARGET_FPU_arm ?= "soft"
>  TARGET_FPU_armeb ?= "soft"





  reply	other threads:[~2011-05-16 14:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-15  1:32 [PATCH 00/15] 14-May Consolidated Pull Saul Wold
2011-05-15  1:32 ` [PATCH 01/15] libxml-sax-perl: added to create LSB olver test report Saul Wold
2011-05-15  1:32 ` [PATCH 02/15] task-core-lsb: add packages into lsb image Saul Wold
2011-05-15  1:32 ` [PATCH 03/15] lsbsetup: recreate locale fr_FR Saul Wold
2011-05-15  1:32 ` [PATCH 04/15] qt4: update from 4.7.2 to 4.7.3 Saul Wold
2011-05-15  1:32 ` [PATCH 05/15] distro_tracking_fields.inc: update for qt 4.7.3 upgrade Saul Wold
2011-05-15  1:32 ` [PATCH 06/15] qt4: split out SQL driver config flags to QT_SQL_DRIVER_FLAGS Saul Wold
2011-05-15  1:32 ` [PATCH 07/15] lib/oe/process.py: import from OE Saul Wold
2011-05-15  1:32 ` [PATCH 08/15] glib-2.0: use PN instead of glib-2.0 in PACKAGES and FILES Saul Wold
2011-05-15  1:32 ` [PATCH 09/15] bitbake.conf: move VENDOR variables from bitbake.conf to defaultsetup.conf Saul Wold
2011-05-16 14:24   ` Richard Purdie [this message]
2011-05-16 16:57     ` Khem Raj
2011-05-15  1:32 ` [PATCH 10/15] tune-cortexa8.inc: Define variable for controlling FP ABI Saul Wold
2011-05-15  1:32 ` [PATCH 11/15] gcc-common.inc: Consider hardfp knob for configuring toolchain Saul Wold
2011-05-16 14:44   ` Richard Purdie
2011-05-16 15:21     ` Koen Kooi
2011-05-16 17:06     ` Khem Raj
2011-05-15  1:32 ` [PATCH 12/15] conf/bitbake.conf: Add MACHINEOVERRIDES variable Saul Wold
2011-05-15  1:32 ` [PATCH 14/15] task-core-nfs: fix a bitbake error Saul Wold
2011-05-16 14:26   ` Richard Purdie
2011-05-15  1:32 ` [PATCH 13/15] util-linux: inherit pkgconfig Saul Wold
2011-05-15  1:32 ` [PATCH 15/15] foomatic-filters: add a link to pass LSB printing test Saul Wold
2011-05-15 16:31 ` [PATCH 00/15] 14-May Consolidated Pull Otavio Salvador
2011-05-16 14:34 ` Richard Purdie

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=1305555853.3424.78.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.