Commit Graph

1881 Commits

Author SHA1 Message Date
Richard Purdie d74176473a conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH
Since we're updating the tune file format, it makes sense to abstract
the compiler tune arguments at this point too. This means that should
these need to be overridden at any point, the original values can
still be obtained in a similar manner to the other TUNE* variables.

Whilst this isn't strictly necessary for any current need, its likely
good practise to standardise this behaviour.

(From OE-Core rev: 3a3c69a1bc3cf0b6f6a3b13d86c12ed21798d48e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25 12:06:30 +01:00
Richard Purdie 039a2d006b conf/machine/tune: Overhaul tune include file variables
There is currently consideradble confusion over how the tune files operate
and how these interact with the rest of the build system. This update/overhaul
changes things so the tune files are primarily resonsible for setting:

TUNE_ARCH - What was formerly set as TARGET_ARCH and is the value that
represents the architecture we're targetting.

TUNE_PKGARCH - The value that represents the tune confuration that this set
of tune parameters results in.

This allows the significant improvement that the core can now always determine
the target architecture value, even when TARGET_ARCH needs to be reset to
something different and likewise, there is one package architecture variable
the core can reference allowing simplification of the BASE_PACKAGE_ARCH, PACKAGE_ARCH
and FEED_ARCH variables.

(From OE-Core rev: a10de4cf8b424ee95c8e283e75d486be5b3b8eac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25 12:06:30 +01:00
Richard Purdie dffe253336 bitbake.conf/cross.bbclass: Add ability to dynamically change library location
Add the ability to dynamically change the library directory from "lib" to
other values. This allows the tune files to specifiy altnerative ABIs
which can be dynamically enabled by the multilib BBCLASSEXTEND code.

A variety of approaches have been attempted with this, the immediate
expansions in cross.bbclass being problematic as they are they are expanded
before the bbclass extend event hander runs. This approach ensures the
${baselib} variable is retained in the expressions resolving that complication.

Derived from some ideas from Mark Hatle.

(From OE-Core rev: aeea22da699b276a97ca1a17e3c53176c9afd9de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25 12:06:30 +01:00
Khem Raj 5151e2ae00 tclibc-uclibc: Fix TARGET_OS for powerpc
1a9ae8ea8c0540d41b8ff4d95c0420d6df754634 removed -uclibc
hence it got all wrong for powerpc. uclibc TARGET_OS
for classic ppc is linux-uclibc and for ppc w/ SPE its
linux-uclibcspe

(From OE-Core rev: 6c4ddd2d532ea91cd5752a7e56e8487cca1ac1e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22 11:51:05 +01:00
Saul Wold c9610a3e43 default-versions: Update pulseaudio as arm no longer needs a seperate backport
(From OE-Core rev: 92e97ab066f58f38d3cc74c984ad4c7abc7d51b1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22 11:51:03 +01:00
Martin Jansa b6cba4732c tcmode-default: set preferred version also for (e)glibc-locale
(From OE-Core rev: 133f7904cb7b5f98bdd260d04ffd4925bff9cff1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-21 10:59:18 +01:00
Khem Raj 0de9f32aee default-distrovars: Add largefile and argp to DISTRO_FEATURES
This is needed for packages that go into core-image-minimal
and core-image-sato highlighted by uclibc

(From OE-Core rev: ab9543d48262a75f87621fc2b64dcb8ab8caf0bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:37 +01:00
Tom Rini 4e774836a4 bitbake.conf, sanity.bbclass: Drop mercurial-native
We have no hg URIs in the metadata, so don't require and don't
ASSUME_PROVIDED it either.  meta-oe has a mercurial-native recipe
if hg URIs are added in a recipe later.

(From OE-Core rev: 6473c9096bf4995c21147e737322d800219c89ab)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:36 +01:00
Kumar Gala 676e3e903f tune-ppce500mc: Add a tune file for PowerPC e500mc core
(From OE-Core rev: 8f37792dc422f81e39e3b32df5e56d915c87216f)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:35 +01:00
Kumar Gala 350431d860 tune-ppce500v2: Add a tune file for PowerPC e500v2 cores
(From OE-Core rev: 1448b6381b2039d0da7ab06c522d973bd8126747)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:34 +01:00
Kumar Gala cc8a2a0ff3 tclibc-*libc: Utilize TARGET_FPU for gnuspe setting
Its possible that BASE_PACKAGE_ARCH isn't set to ppce500 or ppce500v2 when
we build native toolchains.  So we can utilize TARGET_FPU being set to
'ppc-efd' or 'ppc-efs' to determine if we should enable the gnuspe ABI.

(From OE-Core rev: 1a9ae8ea8c0540d41b8ff4d95c0420d6df754634)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:34 +01:00
Scott Garman 3f3cd73f50 distro-tracking: update libpng
(From OE-Core rev: 02c843d995e238f7a5b326195f14222f6a99b596)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:32 +01:00
Khem Raj 498ec5029d bitbake.conf: Change TERM default fallback to XTERM instead of GNOME_TERM
Its better to use xterm since some folks may not be using gnome
or KDE. Chances of having xterm on build machines are lot more
than having gnome-terminal.

(From OE-Core rev: 6ba0dc5b075ab63d6c16fcb45928336a919cf070)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-19 17:34:19 +01:00
Saul Wold 97098f307d distro tracking: Updates
(From OE-Core rev: e18563aa308b5dfc17a62cbb8e3fc39688fa40bc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-19 17:34:17 +01:00
Scott Garman 3fdd47a7ac distro-tracking: add RECIPE_MANUAL_CHECK_DATE for various recipes
The upstream package tracking webapp needs this additional distro
tracking field to work properly for the following recipes I
maintain:

* icu
* blktool
* apmd
* gperf
* dosfstools
* insserv
* at

(From OE-Core rev: aada3127a425f8f35c834f2d96f3737fd62df9c0)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-13 12:29:20 +01:00
Saul Wold 8f49007f28 tcmode-default: update binutils version
(From OE-Core rev: 5471730ee9d805fa464951b349890615f89a1d87)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-10 09:49:17 +01:00
Paul Eggleton e0997b985b bitbake.conf: update OLDEST_KERNEL to 2.6.16
Since we no longer support 2.4, update this setting to 2.6.16, to line up
with the most accepted setting from OE. (This affects eglibc's kernel
support, and 2.6.16 is the minimum version for glibc 2.9 onwards.)

(From OE-Core rev: 888ab93fb8a5baf6308bdc004dba721b0950f6ab)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08 17:32:45 +01:00
Nitin A Kamble 434f328708 distro tracking: update devel.toolchain recipes's fields
(From OE-Core rev: d3fd1957ca0e1bb9f87e2fc7789a9917737648bc)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08 16:39:09 +01:00
Paul Eggleton 3a78d56ef7 default-distrovars.inc: add ipv4 to DISTRO_FEATURES
Since the change in busybox configuration to match OE (OE core rev
b5564c4a9cadf306b447180c433b25ec071f8ce1) we now need ipv4 in
DISTRO_FEATURES to get standard IPv4 functionality in busybox.

(From OE-Core rev: 74bb505de16292ea278106c8575f955dfdc3141e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 13:45:29 +01:00
Mei Lei 764ce20efa distro_tracking_fields.inc: Update recipes upgrade and manual check information
upgrade: gawk, gupnp
manual check: diffutils

(From OE-Core rev: b98a05bef094146c54e6ea1202f4c62fdcaf9ee7)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 11:14:01 +01:00
Khem Raj d0829aea5f tcmode-default: Define UCLIBCVERSION and set it to 0.9.32
(From OE-Core rev: 6b903cf59951a533948d6985e2550c342a6c7beb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 10:57:52 +01:00
Yu Ke 41d0d420ea distro_tracking_field: update the manually check field
sqlite3
qemugl
console-tools
gconf-dbus

(From OE-Core rev: b134c357d82d599df3d475f6ba0d7bf6c8bc08a5)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-04 12:45:32 +01:00
Mei Lei 6aa43eaae0 distro_tracking_fields.inc: update recipes upgrade information
(From OE-Core rev: 11241e03d8c06762a82029bfe278badf4395f55d)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-04 12:45:31 +01:00
Anders Darander 39de5f9ec2 distro_tracking_fields: remove modutils.
(From OE-Core rev: eb1be8f2caeda3ee63127e4d3db843e515bec3ef)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 23:34:18 +01:00
Scott Garman 1c1372e7ec bitbake.conf: update PSEUDO_PASSWD variable
The internal use of PSEUDO_PASSWD adds the /etc path
automatically.

(From OE-Core rev: 2ae82c876c1371fcf82642b141bacc70c86e7e84)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 00:13:25 +01:00
Wenzong Fan 860eea2a58 ccache: Set CCACHE on a per recipe basis
Set 'CCACHE_DIR' in 'bitbake.conf' and create the dirs for every
package before task 'do_configure' started.

[RP: Merge dirs variables into one]
(From OE-Core rev: fe03f78fb0bf7d54b9472832e43764e882f918a1)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:05 +01:00
Yu Ke 49a9426ce3 distro_tracking_field: update recipe maintainer
reassign Qing's recipe to other team member

(From OE-Core rev: d68da1f4898ab77f669ddfd9e4ced5d2044a96ce)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:35 +01:00
Richard Purdie e485b88daa sanity.conf: Require bitbake version 1.13.2 at a minimum
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:33 +01:00
Dexuan Cui e0fc42b51a distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and tcf-agent
(From OE-Core rev: 54940c388181ffb1483f1d056887fe9270510ff4)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 15:04:59 +01:00
Dongxiao Xu 1dd8237d2e task-base: add 3G into DISTRO_FEATURE
(From OE-Core rev: ff014d9634638457622f6019b163e75bafcefada)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:55 +01:00
Dongxiao Xu 663373c4fb ofono: upgrade to version 0.50
(From OE-Core rev: f7bb581c5bbcc6c9a73430b9f45f532207c86af7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:54 +01:00
Dongxiao Xu 6873c1adea distro_tracking: update some manual checking fields
linux-firmware
minicom
opkg
dpkg
wireless-tools
libgsmd
libsamplerate0

(From OE-Core rev: 8c29862d932176a94686372414d2e05f3a6728d3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:54 +01:00
Zhai Edwin 7aab545b76 distro-tracking: Update manual check date for puzzles, gpgme, x11vnc..
Also make maintainer name consistent.

(From OE-Core rev: 3836a2112f5761337fe40216eff87c954ce8d526)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 15:06:53 +01:00
Scott Garman 6c196975d0 distro_tracking: update sudo tracking info
(From OE-Core rev: a90cb0c720c1bacac92343842aec02f08ae97e3a)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:43 +01:00
Scott Garman 1414451798 distro_tracking: update mtools tracking info
(From OE-Core rev: 1c8c893864afd91d4a0e5858bfe44ae9a4b33cef)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:43 +01:00
Richard Purdie 0496564b64 base/glib-2.0: Simplify USE_NLS handling for glib-2.0
Currently the only way to get anything to build is to set USE_NLS="yes"
for glib-2.0. We might as well do this in the recipe by default for
now and simpllify the code.

The magic handling of USE_NLS_<recipename> is also removed since this
can be done in the form USE_NLS_pn-<recipename> using overrides these
days.

(From OE-Core rev: 2e3727b05ae58aaf1eed88967c13cae085e7a702)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:40 +01:00
Richard Purdie 1d2f3957b5 classes/conf: Drop MULTIMACH_ARCH variable, it adds unused complexity and serves no useful purpose
(From OE-Core rev: e623d3015bbdeb2b42b9763937be899a1fa9c0ca)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:39 +01:00
Dongxiao Xu 8fa9d64f1d libc-locale: split locale handling from libc recipe.
*libc's do_package will cost a lot of time due to the locale handing,
which may delay the other recipe's do_package task and affect the build
performance.

This commit moves locale handling into a separate recipe *libc-locale.

[RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES]
(From OE-Core rev: c6d3242f7642f537b02870bb4eb650f0e2094b85)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:41 +01:00
Khem Raj a82642faaa tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION
(From OE-Core rev: dae0a009010f268f1d8fb8e8765a1698ac051878)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 11:50:08 +01:00
Richard Purdie 82e0e0a153 Revert "tcmode-default.inc: Bump EGLIBCVERSION to 2.14"
This reverts commit 0250ece17e.

2.14 isn't ready for prime time use :(

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 23:48:31 +01:00
Khem Raj 0250ece17e tcmode-default.inc: Bump EGLIBCVERSION to 2.14
(From OE-Core rev: 190a946e9a4213944e3ee675c4b3e18701698e87)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:35 +01:00
Richard Purdie b59bc82b99 Revert "qemu.inc: append to IMAGE_FSTYPES instead of weakly assigning them"
This reverts commit a205c32dcb.

This was accidentally committed.
2011-06-14 15:52:16 +01:00
Koen Kooi a205c32dcb qemu.inc: append to IMAGE_FSTYPES instead of weakly assigning them
The ext3 format is pretty much mandatory for qemu usage, so always create it.

(From OE-Core rev: 94da548810eece652bd32fb68a36f978b7d7cf2a)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:16 +01:00
Kang Kai fbc60cc5ba eglibc: migrate configurability from oe
Migrate configurability from oe, try to shrink minimal image size

All eglibc configuration options are included in conf/distro/include/default-distrovars.inc.
Define DISTRO_FEATURES_LIBC and DISTRO_FEATURES in local.conf with the same way
in local.conf.sample.extended to enable those options.

(From OE-Core rev: 022ca1d1357caafdfe23aa9ab82f90ba89b6942b)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:12 +01:00
Dexuan Cui 91b28d8403 distro_tracking_fields.inc: update the info for the following recipes
screen: remove the duplicate info
tcf-agent: update MANUAL_CHECK_DATE
gnome-doc-utils
startup-notification
util-macros
liberation-fonts
resourceproto
dri2proto
glproto
inputproto
pixman
libxext
libxi
xcb-util

(From OE-Core rev: 4f15c075c97a7e8b1158b1b7f23771ad120126b1)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:54 +01:00
Dexuan Cui 3267279a37 tcmode-default: fix PREFERRED_VERSION_gcc-cross-canadian
[YOCTO #1163]

For some test I need to back to use gcc-4.5, so I changed GCCVERSION and
SDKGCCVERSION to "4.5.1", but I found gcc-cross-canadian's 4.6.0, rather
than 4.5.1, would be built! Finally I made this patch to fix the issue.

(From OE-Core rev: 40ae82136b0bd8fc0dc74225700afbb9017a8c38)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:51 +01:00
Richard Purdie 69c87c5ebb conf/sanity.conf: Set the minimum bitbake version correctly, we've needed recent bitbake features for a while
(From OE-Core rev: f6a38cd75edb46858da6950b5ec029db8a12d801)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 22:45:00 +01:00
Mei Lei 2c6ac68006 distro_tracking_fields.inc: Fix a incorrect date format
One incorrect date format caused a checking failure in package report system.

(From OE-Core rev: e2822a65715858c84654debee2219cf954db4d8c)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:28 +01:00
Mark Hatle a91d4987fa distro_tracking_fields.inc: add pseudo
Add pseudo to tracking, with me as the maintainer.

(From OE-Core rev: 8b33a17f45b31a76eadaab7e8934358eb2e96859)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:27 +01:00
Saul Wold f865e83632 bitbake.conf: Create staticdev pacakge for static libraries
(From OE-Core rev: bbb1b2063cee3d022b5fc11b13a5aa8045187801)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:27 +01:00