Patchwork [1/1] bitbake.conf: remove PACKAGE_EXTRA_ARCHS_tune-XXX default

login
register
mail settings
Submitter Paul Eggleton
Date July 28, 2011, 2:18 p.m.
Message ID <24425d51a79827cadfb9dd114fdba45a92aea1ab.1311862525.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/8805/
State New, archived
Headers show

Comments

Paul Eggleton - July 28, 2011, 2:18 p.m.
Because of the way BitBake handles ??= under certain circumstances, this
default setting ends up stepping all over the real setting from the arch
include file. Since virtually all arch include files or tune files define
a real value for this we shouldn't need to have a default (or it needs to
be done in a different way).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/conf/bitbake.conf |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Kumar Gala - July 28, 2011, 2:28 p.m.
On Jul 28, 2011, at 9:18 AM, Paul Eggleton wrote:

> Because of the way BitBake handles ??= under certain circumstances, this
> default setting ends up stepping all over the real setting from the arch
> include file. Since virtually all arch include files or tune files define
> a real value for this we shouldn't need to have a default (or it needs to
> be done in a different way).
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
> meta/conf/bitbake.conf |    1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)

Acked-by: Kumar Gala <galak@kernel.crashing.org>

- k

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 6e109ec..9c80f11 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -84,7 +84,6 @@  HOST_EXEEXT = ""
 TUNE_ARCH ??= "INVALID"
 TUNE_CCARGS ??= ""
 TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}"
-PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE} ??= "${TARGET_ARCH}"
 LIBCEXTENSION ??= ""
 ABIEXTENSION ??= ""