Commit Graph

60 Commits

Author SHA1 Message Date
Richard Purdie c8dee9b92d Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:

sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10 11:51:19 +00:00
Martin Jansa 49a34b1dc8 task-core-boot: allow distributions to define login and init manager
* for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit

(From OE-Core rev: e4d19d36877b6f608cef9e395504cd5b424e1920)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16 13:30:23 +01:00
Saul Wold dd605b1777 task-core-sdk: change task-core -> task-core-console
(From OE-Core rev: 504103ba42783e937c7201a8aa079a52cdde2846)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15 11:23:58 +01:00
Paul Eggleton 8c310ee0a9 task-core: split into task-core-console and task-core-x11
[YOCTO #1481]

Since tasks are referred to almost exclusively via RDEPENDS, and bitbake
will build an entire task recipe when only one of its task packages are
actually needed, building a console-only image that uses
task-core-apps-console (or less directly, has apps-console in its
IMAGE_FEATURES) will cause a build of a whole list of X11 applications
that aren't needed. Splitting the task-core recipe into X11 and console
portions prevents this issue.

(From OE-Core rev: 07407baafb728c5ae1bb283f5b02a2ac773360bc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15 11:23:57 +01:00
Tom Zanussi 334a2ef94d task-core-tools: add systemtap to qemuarm
Systemtap now works with arm, so include it in task-core-tools-profile
for qemuarm.

(From OE-Core rev: 69a776eab96776ab33191cd6eeda4560e3f3f357)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05 20:25:45 +01:00
Martin Jansa a6e564b6ab task-core-boot: allow distribution to override default dev_manager provider with VIRTUAL-RUNTIME_dev_manager
(From OE-Core rev: 6a38215b5214de2da82232f05ed1d29d3c422b3c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-19 09:29:19 -07:00
Khem Raj e303a46902 task-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ust
This helps build on uclibc where lttng-ust is not included

(From OE-Core rev: 6baf17f1604853a1770c14cdc6ee0493beab6829)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-19 09:29:19 -07:00
Dongxiao Xu fe53449330 task-core-boot.bb: Add PACKAGE definition to facilitate multilib
If there is no PACKAGES defined in bb file, its default definition would
be "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale".
In multilib case, ${PN} is extended with ${MLPREFIX}, so there is no
rename occurred for the PACKAGES. Therefore for task-core-boot,
RDEPENDS_lib32-task-core-boot will be empty, resulting busybox,
tinylogin, etc. are not bulit out.

This fixed the issue that /bin/sh is not provided while do_rootfs.

(From OE-Core rev: f3d8fd28d779ff841410e5bd22289680f04022a2)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-05 17:43:35 +01:00
Khem Raj 48966d90f2 task-core-tools.bb: Exclude lttng-ust for x86_64/uclibc
(From OE-Core rev: 172e8de050673bedd1d7a17e5b9bd099448e20fa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22 11:51:04 +01:00
Khem Raj 28d52d9ae9 task-core-tools: Exclude systemtap for uclibc
systemtap needs full fledged elfutils which cant be
built on uclibc therefore we live without systemtap
on uclibc

(From OE-Core rev: aa66fc48d56385d7bea9c0099fdbc149b0eee7fc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:39 +01:00
Yu Ke d5651cbea3 sato-sdk: add clutter for sato-sdk image
Yocto ADT has Eclips clutter template, so it is better to have
clutter in SDK image to support ADT. this patch add clutter
and clutter-box2d app to sato-sdk image for this purpose

Fix [YOCTO #891]

(From OE-Core rev: a6e9edb7b4b5b0bdb067a59d691d33fba8948963)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-13 11:52:39 +01:00
Phil Blundell 88c6c7abbf kernel.bbclass, task-base: remove references to obsolete bluez-dtl1-workaround
(From OE-Core rev: a78b644a8aebd078b9cc51bf7d102feef8191d95)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12 15:21:26 +01:00
Anders Darander 8b9fc55fdb task-base: remove unconditional inclusion of kernel-module-rtc-sa1100
(From OE-Core rev: 0c858d6c0a3b6249a535bfb670df5dc3111b4af1)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 11:14:00 +01:00
Anders Darander 38bd46eaf6 task-base: remove modutils reference.
Also remove the other kernel24 references.
Make everything dependent on kernel26 default.
Move the RDEPENDS- and RRECOMMENDS_task-base-kernel26 to _task-base.

(From OE-Core rev: 030e4d5221631b452e0a00f8a4134b923115249d)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 11:13:59 +01:00
Wenzong Fan fec22b1ace ccache: Add 'ccache' for SDK images
(From OE-Core rev: b4f57eea30e1a8079fe3f1a8a28aff5af5fc36f0)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:06 +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
Richard Purdie e112d46c9f task-sdk-host: Add nativesdk to the task name so its clearer what the contents of the task represent
This is particularly important since the file doens't use BBCLASSEXTEND
and PN is therefore misleading

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-13 22:38:06 +01:00
Saul Wold 163f4df219 task-core-tools: add mesa-demos to testapps list
(From OE-Core rev: 254c07e4b1f153202bffbf4836788c44f6a96d70)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 16:44:38 +01:00
Richard Purdie 5527983bcc task-core-nfs/image.bbclass: Fix some libc overrides
(From OE-Core rev: 4616095d75c0c13953e0bb339b0cafc3c3eb8314)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17 15:14:46 +01:00
Nitin A Kamble eb01cda7fb task-core-nfs: fix a bitbake error
THis fixes following issue:

NOTE: Runtime target 'glibc-utilsglibc-utils' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['glibc-utilsglibc-utils']
NOTE: Runtime target 'task-core-nfs-server' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['task-core-nfs-server', 'glibc-utilsglibc-utils']

[sgw: moved space to _append line]
(From OE-Core rev: 6d228dea55804538e3d2737326b99e145c6ff055)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17 15:14:41 +01:00
Dexuan Cui c4d01fc8aa task-core-tools.bb: properly enable lttng-ust for ARM
Fixes [YOCTO #856]

Commit 320a641df1 omitted the line when being
merged into master branch.

(From OE-Core rev: 50a54e885e3ec1c889f754fa3f5dce0072cfb6c9)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-05 12:26:32 +01:00
Paul Eggleton cdf878387a Remove machine-specific metadata for machines no longer in oe-core
(From OE-Core rev: 72567733033347b662d9baa07432985fd2da3efa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-05 12:26:29 +01:00
Martin Jansa 927d33c170 task-base: allow distribution to define apm provider
* use VIRTUAL-RUNTIME_apm instead of apm directly

(From OE-Core rev: 2d19f07fa5b1021c4210b28a2d6225e50c721580)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24 23:41:07 +01:00
Dexuan Cui 320a641df1 task-poky-tools.bb, task-sdk-gmae.inc: enable lttng-ust for ARM
lttng-ust can build on ARM from 0.12 on.
Merged with rebranding

Fixes [YOCTO #856]

(From OE-Core rev: 13d967d68bb2f01119d1b14a98b89a98fc3ee6ef)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24 22:50:27 +01:00
Richard Purdie 0b70e298fb Catch task-poky -> task-core renaming
(From OE-Core rev: 27147ae60f22f5be257727b1ec69f48a7192ffb3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21 00:29:31 +01:00
Richard Purdie 6e95cb246f Rename poky-image-* -> core-image-* and task-poky-* -> task-core-*
(From OE-Core rev: 560b04181d8f51d189b99f01a72f17210dadf7a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21 00:29:30 +01:00
Richard Purdie 4d609d5021 Replace POKYBASE with COREBASE
(From OE-Core rev: 607a7657715f6fcba467a4e55ba64f41f4e13a15)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21 00:29:29 +01:00
Scott Garman 6b088d6d62 task-poky-ssh-openssh: new task recipe for openssh ssh
This task can be used when IMAGE_FEATURES is set to
ssh-server-openssh.

(From OE-Core rev: 23bfd4e65d6ad79198a189df4ba08794e7dc2614)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:31 +00:00
Scott Garman 0c62497cac task-poky-ssh-dropbear: new task recipe for dropbear ssh
This task can be used when IMAGE_FEATURES is set to
ssh-server-dropbear.

(From OE-Core rev: 109dcd84ee1bd15103eb79e415e5404dfd5a2e03)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:31 +00:00
Scott Garman 849c862af1 task-base, task-poky-basic, task-poky: Remove hard-coded references to dropbear
This is the first step in refactoring the SSH server selection to
be done in IMAGE_FEATURES instead of as hardcoded in these tasks.

(From OE-Core rev: 7e9484241b055975ee0843a91ba12465392370a9)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-16 13:54:30 +00:00
Kevin Tian c7b489c22b task-poky-sdk: add 'file' and 'ldd'
these two are useful in the development environment, and also required
by two LTP test cases (ld and ldd).

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2011-01-28 16:49:13 +00:00
Lianhao Lu 5246c996e9 libtool: Adjusted content of various libtool packages.
[BUGID #562] fixing:
1. Adjusted the content of various packages generated by libtool.
2. Added libtool-nativesdk into task-sdk-host.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-01-20 21:36:57 +00:00
Saul Wold 8cd693f32a task-poky-tools: move systemtap to machine specific tasks
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-20 21:36:57 +00:00
Tom Zanussi 96e513f758 systemtap: new package
Add systemtap, a general-purpose script-directed dynamic tracing and
performance analysis tool for Linux.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-01-20 21:36:57 +00:00
Saul Wold d3341e3ea4 task-sdk-host: add libtool-nativesdk to meta-toolchain
This address [BUGID #652]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-18 07:38:01 -08:00
Tom Zanussi 35e3443b57 task-poky-tools.bb: re-enable blktrace
The commit for BUGID #581 fixes the blktrace build errors - it should
now be safe to re-enable the blktrace recipe.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-12-30 09:38:05 +00:00
Richard Purdie c6fae98730 task-sdk-host: Add LIC_FILES_CHKSUM
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-25 19:43:01 +00:00
Richard Purdie 30d01a676d task-cross-canadian: Add LIC_FILES_CHKSUM
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-25 17:56:06 +00:00
Lianhao Lu 6a31a2a89e meta-environment: Added package of meta-environment-${TARGET_ARCH} for
environment files.

[BUGID #565] Fixing bug #565, added package of
meta-environment-${TARGET_ARCH} for environment files used by
cross-canadian toolchain.

Also corrected the situation of empty config site file for target.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-12-21 08:53:20 +00:00
Saul Wold 33fccd7037 task-poky-lsb: removing missing packages
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-10 22:01:41 -08:00
Tom Zanussi 8d702d76ff sysprof: add system-wide performance profiler for Linux.
[sgw@linux.intel.com: alpha'ed poky-default-revision.inc and fix commit message]
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-10 22:01:29 -08:00
Richard Purdie 88ee037741 task-cross-canadian: Ensure it reflects TARGET_ARCH in PN
If this recipe doesn't reflect TARGET_ARCH in its name, only
one flavour of cross toolchain can be installed at once.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-10 16:56:08 +00:00
Lianhao Lu 2021e2a74f Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH.
Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH for
cross-canadian packages. This is due to the TARGET_ARCH of x86_64
would results incorrect packaging in cross-canadian packages.

The pacakge name appendix of x86_64 target in cross-canadian
packages is x86-64.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-12-10 15:36:48 +00:00
Lianhao Lu 322d6ab299 cross-canadian: pkg name includes target arch
This commit fixes Bug #528.

1. Added the target arch name to the pkg name of gcc-cross-canadian,
gdb-cross-candian and bintuils-cross-candian.

2. Move the cross-canadian pkgs out of task-sdk-host into a new task
task-cross-canadian.

3. Added the RDEPENDS of task-cross-canadian into meta-toolchain.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-12-10 15:36:30 +00:00
Saul Wold 47cb074774 task-poky-tools: disable blktrace due to build failures
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-06 21:31:06 -08:00
Dongxiao Xu 4bbb8a9267 task-poky-boot: update LIC_FILES_CHKSUM info
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-06 22:02:24 +00:00
Dongxiao Xu cb2c6b88e7 task-poky-nfs: update LIC_FILES_CHKSUM info
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-06 22:02:23 +00:00
Dongxiao Xu a26cd44768 task-poky-standalone-sdk-target: update LIC_FILES_CHKSUM info
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-06 22:02:23 +00:00
Dongxiao Xu 28cd1e7eed task-poky-tools: update LIC_FILES_CHKSUM info
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-06 22:02:22 +00:00
Dongxiao Xu 0c7a4e04c8 task-base: update LIC_FILES_CHKSUM info
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-06 22:02:22 +00:00