Commit Graph

67 Commits

Author SHA1 Message Date
Richard Purdie 0d69a17959 meta-yocto: Sync with mesa/xserver changes and fix machines
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-14 23:25:41 +01:00
Richard Purdie b92b776d56 meta-yocto: Catch up with xserver and mesa upgrades/rename
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-12 23:05:12 +01:00
Robert Yang be9ee810bd Fix typos in local.conf.sample and local.conf.sample.extended
Fixes bug [YOCTO #1667]

Fix typos in local.conf.sample and local.conf.sample.extended:

differernt -> different
chages -> changes
complation -> compilation
egde -> edge
"an an" -> "as an"
images's -> image's

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-11 14:11:30 +01:00
Richard Purdie 195cde3bb8 local.conf.sample: Disable interactive patch resolution for now since doesn't work well
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-07 00:00:51 +01:00
Elizabeth Flanagan c88b991526 poky.conf: Increment DISTRO_VERSION
With 1.1 release coming, it's time to increment the DISTRO_VERSION
and poky version.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-04 18:33:54 +01:00
Paul Eggleton e20ceb918c local.conf.sample: remove emenlow from example machines
emenlow is now supported within meta-intel.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-15 11:27:22 +01:00
Darren Hart 62892b2f68 beagleboard: document how to enable the hard floating point abi
Closes [YOCTO #1203]

Using the hard floating point abi is incompatible with some binary libaries and
3D support for the Beagleboard. While we do not provide these in poky and
meta-yocto, softfp should remain the default for compatibility reasons.

Provide documentation and a commented assignment to DEFAULT_TUNE instructing
how to enable hardfp, but leave it disabled by default.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07 23:14:30 +01:00
Joshua Lock 705ec50edd poky.conf: perform network sanity check by default for poky distros
Add CONNECTIVITY_CHECK_URIS to run the network connectivity sanity test for
http, https and git sources.

The variable is soft-assigned so that it's easily overrideable.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31 20:34:53 +01:00
Bruce Ashfield f6c1e8ec29 meta-yocto: make qemu machines prefer linux-yocto_3.0
Since there aren't individual qemu*.conf files in meta-yocto the
qemu machines follow the default preference in poky.conf, which is
the 2.6.37 kernel. Rather than introducing new .conf files just for
this adding machine specific overrides is lower footprint.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-08-24 18:29:54 -07:00
Bruce Ashfield f08b8c9640 meta-yocto: atom-pc/mpc8315e-rdb change preferred version to 3.0
Updating two more yocto hardware reference platforms to use the
3.0 kernel by default.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-08-24 18:29:30 -07:00
Jingdong Lu f8cddd7457 mpc8315e-rdb: add kernel modules to rootfs
Fix bug: [YOCTO #817]
Add kernel modules to rootfs for mpc8315e.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-08-23 20:45:07 -07:00
Darren Hart e744900fa5 meta-yocto: allow for virtual/kernel override
Conditionally assign the PREFERRED_PROVIDER_virtual/kernel in the meta-yocto
machine configs to allow the user or other layers to override it. This is
required to use the linux-yocto-rt kernel, for example.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-08-18 22:20:52 -07:00
Jiajun Xu 354bd05ee6 poky.conf: add flag opengl into DISTRO_FEATURES
libsdl will check if opengl is set in DISTRO_FEATURES, then enable
openGL option during do_configure. It is required for 3D game testing.

Fix [YOCTO #883]

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-17 15:49:11 +01:00
Richard Purdie b85957b011 local.conf.sample: Cleanup and improve
local.conf is the first thing anyone new to the project sees. Over time it
has built up a ton cruft and isn't even accurate in places.

This patch:

* Moves things to local.conf.sample.extended if a new user is unlikely
  to need to immediately care about the options
* Reorders the file to be more intuitive to a new user
* Moves certain default values to default-distrovars.inc in cases where
  most users wouldn't want to change the value
* Adds large blocks of text to explain what an option does. There have
  been too many cases of a user not realising what some of these
  settings do and how they can use them to their advantage (like DL_DIR
  for example).

(From OE-Core rev: a0ccb33ac5a2231c979c3369159f763dff1e0a2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-12 17:21:19 +01:00
Richard Purdie 29208d2e35 local.conf.sample: Comment out BBMASK by default
This means we can set defaults in layers or other configurations without
the default user config masking it out.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-05 17:19:51 +01:00
Saul Wold 6f93e34866 atom-pc.conf: Add live image type
This change will cause the live image to be built by default
No longer is it necessary to build a -live image type.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-03 18:02:41 +01:00
Richard Purdie bfb25ea462 local.conf.sample: Fix TUNENAME reference (should be DEFAULTTUNE)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-02 14:41:14 +01:00
Bruce Ashfield f94b781695 poky.conf: explicitly referenced preferred linux-yocto version
As the staging of linux-yocto-3.0 showed, we should explicitly
state our preferred version of linux-yocto. This prevents unvalidated
changes from being forced into machines. Layers and machines are free
to override this as they are updated.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-07-27 09:56:56 -07:00
Matthew McClintock 4a83fb1c26 Update TERMCMD message to align with previous change
A previous patch changed the default TERM to use xterm. This updates
local.conf.sample to match the change

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 17:43:48 +01:00
Richard Purdie c18aa8d065 multilib: Add support for compiling recipes against multiple ABIs
This patch adds the core multilib class which can be used along with a
parameter specifying the mutlilib to use in BBCLASSEXTEND.

The MLPREFIX variable is added and can be used in cases where its too
difficult to dynmaically work out where a mutltilib prefix is needed
to be added to a variable.

This includes:
  * SHLIBSDIR and PACKAGE_ARCH fixes from Lianhao Lu.
  * PACKAGE_DYNAMIC mapping from Yu Ke
  * PACKAGE_INSTALL mapping from Yu Ke
  * RPROVIDES mapping from Yu Ke
  * TARGET_VENDOR fix from Mark Hatle
  * Ignorning *-native-runtime dependnecies as well as *-native from Yu Ke
  * Map PKG and ALLOW_EMPTY from Dongxiao Xu
  * Ensure RCONFLICTS and PKG field dependencies are remapped (from Dongxiao Xu)
  * Ensure PN and MLPREFIX are set at the same time to ensure consistent BPN values (Yu Ke)

(From OE-Core rev: 5d9453049915db48ec4b5972e12287417ebb61a2)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 16:18:40 +01:00
Paul Eggleton c30e58cbc9 meta/conf/local.conf.sample: improve terminal examples/comments
Default to XTERM_TERM* instead of KONSOLE_TERM* since Konsole support
only works for KDE 3.x, and note this in the comments (see Yocto bug 1294
for further details.) Also add a comment about PATCHRESOLVE = "noop".

(From OE-Core rev: 4c88733f8bace5bb6503ebfe5238e96fe424e6d0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:32 +01:00
Paul Eggleton 9545c8bc64 meta/conf/local.conf.sample: improve comments/layout
Some additions and grammar fixes to the comments, as well as moving
the locale options to the same place.

(From OE-Core rev: f3cd4845d27fb5cecd173cb60c947bb36888d2e5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:07 +01:00
Paul Eggleton 40c887a279 meta/conf/local.conf.sample: remove oprofileui-native related settings
oprofileui-nativesdk would be a better way to handle these kinds of
requirements with the modern system, and it is not something that most
users will need to configure anyway (nor was it supported.)

(From OE-Core rev: 87443c874f03b2220290f13908da58a414d3a3a9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:00:15 +01:00
Joshua Lock 50016106ad data|cooker: use saved environment variables when calling inheritFromOS
Now that we have a pristine copy of the variables available at launch time
we can use them when looking to inherit the OS's environment.

(Bitbake rev: 21c21fcc5871e81d8d497b6baed605cdd74c4571)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26 13:46:27 +01:00
Richard Purdie 04efff115c meta-yocto: Sync with TARGET_ARCH removal changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25 12:08:52 +01:00
Kumar Gala eea4bd731e mpc8315e-rdb: Set TARGET_FPU correct
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC
floating point.

'SPE' floating point is what exists on the e500v2 core.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-07-22 09:02:58 -07:00
Tom Rini f19e54c671 local.conf.sample: Add a note about ASSUME_PROVIDED for help2man
Similar, but opposite of oe.dev example.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-20 14:56:06 -07:00
Richard Purdie f1d3dae747 meta-yocto/conf/local.conf.sample: Update SSTATE_MIRRORS comment to remove packaged-staging references
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 10:54:14 +01:00
Xiaofeng Yan 5168a5055e libQtOpenGL: Install libQtOpenGL to an lsb image
Library "libQtOpenGL" is needed by an lsb image. So I add it to task-core-lsb.bb
Fix Bug [YOCTO #1020]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-07-05 14:21:22 +01:00
Dexuan Cui 101098bfb4 poky.conf: add largefile support into DISTRO_FEATURES
[YOCTO #1205 ]

The commit ab1171b(busybox: backport distro-features handling from oe
master) actully makes busybox's largefile support disabled. So busybox's
mkswap complains "lseek: Value too large for defined data type" when we
install BSP image into the target device.

So we have to enable largefile support, and bump PR of busybox(in a later
commit).

Note: poky-lsb.conf enables "largefile" and includes poky.conf, so we can
move "largefile"  from poky-lsb.conf into poky.conf.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-07-02 00:40:45 +01:00
Xiaofeng Yan c2007ba4cd poky-lsb.conf: Instead of += with _append
The default variable DISTRO_FEATHURE was set in poky.conf before \
moving to defaultsetup.conf. Defaultsetup.conf is included after poky-lsb.conf \
So poky-lsb.conf sets the variable using += but since its empty, \
it might as well be an = and then the later ?= doesn't do anything since the \
variable is already set.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-06-23 11:19:38 +01:00
Darren Hart aaa4951d8b beagleboard: switch to xserver-xf86-lite
Try to get closer to the meta-texasinstruments layer which uses
xserver-xorg. Provide a default xorg.conf that matches the one
from meta-texasinstruments.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-06-22 17:03:04 +01:00
Darren Hart 489fe5d440 beagleboard: add basic audio mixer defaults
We need a generic alsa based mechanism that we can use a bbappend to save
default mixer controls per bsp. Until that is ready, this ensures the Audio Out
on the Beagleboard is enabled out of the box.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-06-22 17:02:55 +01:00
Darren Hart 0363835985 beagleboard: cleanup machine config commentary
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-06-22 17:02:47 +01:00
Kang Kai 18ba9b31f0 bitbake: add local.conf.sample.extended
Add a new configuration file local.conf.sample.extended, and more advanced
settings what user can configure could put in this file.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-06-14 09:21:31 -07:00
Saul Wold b71f3e4cea local.conf.sample: remove default EXTRA_IMAGE_FEATURES
The default list of EXTRA_IMAGE_FEATURES adds alot to the generic non-dev and non-sdk image
so ensure that the sato-sdk and lsb-sdk includes this list by default.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-06-09 16:17:47 +01:00
Saul Wold 54825128e1 poky.conf: Make qemu-config optional for non-GPLv3
[YOCTO #1033]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-06-01 17:48:13 +01:00
Darren Hart 59650ea31f beagleboard: specify UBOOT_MACHINE in machine conf
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-05-27 14:51:55 -07:00
Saul Wold 6401cf0336 machine confs: Add xserver-kdrive as PREFERRED_PROVIDER
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-27 14:11:20 -07:00
Lianhao Lu adbc1212b2 meta-yocto/local.conf.sample: Added PRSERV_HOST and PRSERV_PORT.
Setting PRSERV_HOST and PRSERV_PORT would trigger the poky to use remote
PR network service. Leaving them unset allow the user to build image
without the PR network service

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-27 17:55:49 +01:00
Saul Wold 1607d7b680 IMAGE_ROOTFS_SIZE: Cleanup machine conf files
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-25 14:07:37 -07:00
Richard Purdie be7020c5ff poky.conf: Add qemu-config dependencies to qemu images at the distro level
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-23 15:47:40 +01:00
Richard Purdie 09862c4239 poky.conf: Poky doesn't support parallel builds of libc at this point
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-19 23:49:22 +01:00
Richard Purdie 86e6d45f38 poky.conf: Set DISTRO_EXTRA_RDEPENDS/DISTRO_EXTRA_RRECOMMENDS
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-19 23:46:46 +01:00
Richard Purdie f60f3f11ee conf/distro/include/default-distrovars.inc: Create set of default 'distro' variable values
(From OE-Core rev: ddbf17b3ee18c12a51950109e8728de65fb9ac0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11 15:26:32 +01:00
Richard Purdie 367a1394e2 machine/qemu: Add qemu-config as an essential machine speicfic dependency and drop specific distro config
(From OE-Core rev: 617b8f2ae26a6b4ac57795fead39ef20b1f92ecc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11 15:26:16 +01:00
Richard Purdie e27f339a04 distro: Add defaultsetup.conf, a set of default configuration providing sane overrridable default for commonly used options
The intent is to allow distros to share common core config but still allow
customisations. The core should work with no distro set but users
can still customise in any ways needed.

(From OE-Core rev: c0a148077ae27a1ef57c55ac22953c68d001af57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11 15:24:22 +01:00
Richard Purdie 044853350b bitbake.conf: Include the new default-providers.inc and default-versions.inc files
These are the minimal defaults to allow OE-Core to function standalone with
no distro set and are constucted such that the distro can either override values,
or totally replace the include file entirely as needed.

(From OE-Core rev: b34d5e93fab4274e1a56f446e2ba4756d614cc47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11 15:22:54 +01:00
Richard Purdie 16cfbd6ef1 poky-floating-revisions: Move to meta-yocto
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-10 17:15:58 +01:00
Darren Hart 622fb696a6 atom-pc: use linux-yocto (2.6.37) kernel
Tested boot, network, sato desktop, amixer, and audio playback on a Toshiba
NB305 netbook.

Depends on "linux-yocto: move non-core machines to meta-yocto" from
Bruce Ashfield to the yocto list:
Message-Id: <a258388e5b8d134009bb37cfc9f6b1c1dd8ba94e.1304707341.git.bruce.ashfield@windriver.com>

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-05-10 17:15:58 +01:00