Commit Graph

462 Commits

Author SHA1 Message Date
Jessica Zhang e78d586006 Introduce SDK_VERSION which is based on DISTRO_VERSION for fixing bug 586
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2010-12-16 15:53:09 +00:00
Paul Eggleton 5fadc9b8be poky.conf: adjust variable whitelisting to fix sstate checksums
After some analysis of task dependencies I have adjusted the global whitelist
used to filter out variables that would otherwise cause unwanted changes in
task checksums for sstate packages.

The following changes have been made to BB_HASHBASE_WHITELIST:

 * Fix typo: FILESEXTRAPATHS not FILESEXTRPATHS
 * Add variables FILE_DIRNAME HOME LOGNAME SHELL TERM USER
 * Remove variables DATE and TIME (these are referred to by a number of tasks
   where they should affect the checksum, e.g. because they influence PV)
 * Remove variable _ (not found in dependencies)

Additionally DATE and SRCDATE are excluded but only explicitly for
patch_do_patch, which uses these only to provide a warning if patches are
out of date.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2010-12-14 22:36:32 +00:00
Joshua Lock 47efcfdf79 poky.conf: move the SDK install into version directories
It's desirable to be able to have SDK toolchains installed from multiple
versions of Poky, enable this by installing the toolchains into a subdirectory
of /opt/poky/ based on the distro version.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-12-09 09:20:06 -08:00
Kevin Tian 39dd60462c poky.conf: add more hash whitelist
DATE are referenced by patch_do_patch
TIME are referenced by do_distro_check/do_checkpkg
BBPATH/THISDIR/_ impacts the scenario when using different source path.
DL_DIR/SSTATE_DIR are listed as dependency too, by pstaging_fetch
FILESEXTRPATHS is referenced by .bbappend files

Some tasks may not contribute to sstate packages, e.g. do_checkpkg. But for
safety all of them are whitelist this time.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-12-09 13:07:43 +00:00
Paul Eggleton 2feaffab27 poky.conf: add BB_TASKHASH to BB_HASHBASE_WHITELIST
At the time of creating the hash, BB_TASKHASH can't really be valid and
should be excluded from the environment variable list used to create the
hash.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2010-12-07 14:41:28 +00:00
Dongxiao Xu 53aff7d677 utility-tasks.bbclass: Move distro related tasks to distrodata.bbclass
Most of the d.keys() used in file parsing are variables in
distro_tracking_fields.inc, which are not used in normal build.
Therefore remove the inclusion of distro_tracking_fields.inc from
poky.conf. Besides, move distro related tasks to distrodata.bbclass,
which includes that tracking field file.
By this change, the file parsing time could save about 25%.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-11-22 10:38:15 -08:00
Kevin Tian 4ad20191b6 poky.conf: add "virtual:native:" to BB_HASHTASK_WHITELIST
native signatures are not counted in dependency chain as they're bound
to build system.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-11-21 18:19:34 +00:00
Saul Wold 50911329d4 base.bbclass/poky.conf: Fix INCOMPATIBLE_LICENSE Whitelist checking
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-11-14 16:50:18 -08:00
Saul Wold 77cb80cc31 poky.conf: Default Locale Generation
Add en-us and POSIX to default locale generation

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-11-10 21:22:26 +08:00
Saul Wold 53b775b496 poky.conf: Change default locale to POSIX
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-11-10 21:09:22 +08:00
Kevin Tian 26ade54fa4 poky.conf: add PWD to BB_HASHBASE_WHITELIST
Without doing this I can't reuse prebuilts generated from one directory in another
build directory which is really not comfortable for developers. Due to difference
on PWD variable, base hash becomes different for every sstate package.

So here PWD is added to the hase base whitelist, which makes most prebuilts reusable
now in a different build directory. However there still remains one issue about
do_populate_sysroot sstate package. Absolute path is encoded in this task which
then blocks reuse on them. Perhaps we need some redesign for do_populate_sysroot into
two stages, with all absolute path related operations moved to the 2nd stage. This
way then the 1st stage can be reused.

Partially fix [BUGID #522]

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-11-07 20:39:14 +00:00
Richard Purdie 724088189e Poky -> Yocto name change
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-27 07:54:03 +01:00
Richard Purdie d3099f8f5c poky.conf: Add qemu-config dependency for qemux86-64
After booting qemux86-64 sato image, there is no icon for shutdown on the
desktop which is caused by missing the qemu-config package on this machine.

[BUGID #458]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-15 16:34:40 +01:00
Saul Wold 5f17c07331 gststream commercial: modified recipes and tasks to add commercial identifier
Modified DEPENDS and RDEPENDS in these recipes and tasks to make packages
which have potential license implications opt in through options in
poky/local.conf.

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-10-08 16:47:19 +01:00
Saul Wold 7d42965565 base.bbclass: add support for commercial license check
This addresses [BUGID #410], require implict action by someone to enable
functionality that may have license implications.

By default this diables mp3 and mpeg decoding

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-10-08 16:46:33 +01:00
Richard Purdie adcb01d091 poky.conf: Add BB_HASHBASE_WHITELIST to ignore variables which don't influence sstate packages (Initial Population)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-30 18:02:35 +01:00
Dexuan Cui f342f3ba68 poky.conf: use eglibc rather than glibc
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-09-21 23:37:29 +01:00
Richard Purdie 33e2b4a8a7 poky.conf: Set hash policy
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-03 16:25:24 +01:00
Saul Wold 179e056519 base.bbclass: Initial work to add GPLv2 Only Build with Whitelist for GPLv3 Native tools
[tweaks from Richard Purdie]

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20 16:53:36 +01:00
Richard Purdie f070ee959c Rename packaged-staging2 -> sstate and remove the old empty class
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19 22:48:17 +01:00
Richard Purdie c7a8029570 Start sstate
Add pre clean hook
Add sstate_installpkg
sstate: Tie all pieces together with a setscene function
Use pythonic functions rather than os.system()
Implement sstate_clean function
package_ipk: clean shared state in prestate
packaged-staging2: implement fetching packages from mirror
Copy add staging_fetch() from packaged-staging.bbclass
packaged-staging2: make the output slightly friendlier
packaged-staging2: handle directories in the shared state
Add directories to the manifest when installing and remove them if empty when
cleaning.
Move most of the sstate code into the class itself removing the need for heavy boilderplate

packaged-staging2: Programatically ensure directories are last in the manifest
packaged-staging2: add cleanall
packaged-staging2.bbclass: Connect in cleanall function to do_clean

We want to ensure that directories appear at the end of the manifest so that
when we test to see if they should be deleted any contents added by the task
will have been removed first.

pstage2: Use oe.path.copytree
packaged-staging2: support lockfiles and plaindirs

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-19 20:06:25 +01:00
Mark Hatle d428c9f9e1 prelink: Enable image wide prelinking
Add the ability to specify user level classes via the local.conf.

Use this new capability to add an image-prelink class that does an
image wide cross-prelink activity.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-12 15:54:39 +01:00
Richard Purdie 7af8cb9d02 poky.conf: gcc 2.95 died a long time ago, thankfully
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 12:28:52 +01:00
Bruce Ashfield 3e86c5e644 linux-libc-headers: create a libc-headers based on Wind River kernel
Put PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers-wrs"
in your configuration, and this package will be used to generate a
set of kernel headers from the -standard branch of the Wind River kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-19 11:03:13 -04:00
Kevin Tian 90ceeff258 utility-tasks.bbclass: add automatic version check for GIT/SVN proto
both git/svn supports remote information query: 'git ls-remote', and
'svn info'. With them, now upstream version will be automatically
checked for git/svn packages.

In the meantime, manual latest version tagged in distro tracking
fields are also compared as one alternative if upstream check fails.
Also such check is one indicator whether tracking field is missing.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-07-08 21:08:19 -07:00
Richard Purdie 061df5abaf meta-toolchain: Improve layout
* Switch from /usr/local/poky to /opt/poky
* Use a sysroots directory for both the "native" sdk binaries and the target
* Drop the meta-toolchain extras packages. These are replaced with packaged-staging.
* Change the nativesdk layout to match our usual filesystem layout
* Clean up various hardcoded prefix references

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 14:35:08 +01:00
Joshua Lock fc663f9c63 poky.conf: define PREFERRED_PROVIDER_opkg-nativesdk to silence a warning
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-01 15:22:41 +01:00
Joshua Lock da8139499d Update version after Green release 2010-06-11 14:43:58 +01:00
Joshua Lock 6ae3907433 distros: set xserver-xf86 as default PREFERRED_PROVIDER for virtual/xserver
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-10 14:34:15 +00:00
Joshua Lock 8235389fd1 conf: remove references to SRC_TARBALL_STASH
SRC_TARBALL_STASH is deprecated, the same functionality can be acheived
with PREMIRRORS, so remove references to it from configuration files.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-04 00:18:29 +00:00
Richard Purdie 589a797e98 conf/distro/poky: Rename poky-eabi to poky-default to make more sense
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-28 22:12:58 +00:00
Joshua Lock dfe72318ed distros: fix mistake in opkg-native PREFERRED_PROVIDER
PREFERRED_PROVIDER for opkg-native should be a native
package...

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-15 13:44:03 +00:00
Joshua Lock e081a82966 distros: Fix some warnings by setting PREFERRED_PROVIDER's
opkg-native needs a PREFERRED_PROVIDER for moblin and poky

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-15 11:07:49 +00:00
Richard Purdie 289332253b distro/poky: Set EXTRAOPKGCONFIG
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-26 11:19:37 +00:00
Richard Purdie c078d4c0d3 poky.conf: Update source tarball stash url and variable name 2009-10-28 05:51:47 +00:00
Richard Purdie 1d4f93e8f6 Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow environmental variable control
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-18 10:01:33 +01:00
Richard Purdie 046ae6a38d poky/moblin: Update SDKPATH and SDK_NAME to use SDK_ARCH and remove pointless path addition
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:22:53 +01:00
Richard Purdie 846794c17e bitbake.conf: Rename SDK_PREFIX SDKPATH
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-10 17:58:36 +01:00
Richard Purdie 0deeea4f90 poky.conf: Set SDK_NAME to include BUILD_ARCH, not HOST_ARCH
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-03 22:03:09 +01:00
Richard Purdie 3593279260 poky.conf: Switch from libx11-diet to libx11-trim for less headaches
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-17 13:40:29 +01:00
Richard Purdie 3ab2ff7668 base.bbclass: Add metadata revision handling for git (from OE) 2009-01-02 11:09:04 +00:00
Richard Purdie f9f549d06f distro/poky.conf: Disable svn revision handling since svn is obsolete and no git revision handling function is present yet 2008-12-30 17:06:54 +00:00
Joshua Lock bbac24bb2e task-base: Removed RDEPEND on task-poky-boot
It is now neccesarry for each distro to specify a POKY_EXTRA_RDEPENDS for a relevant boot task. This has been added in poky and moblin distros.
2008-11-05 16:56:08 +00:00
Richard Purdie e61ea24100 Merge branch 'pli1/X11-rework' of git@moblin-mdi.jf.intel.com:poky-staging into master-dev 2008-10-29 14:55:26 +00:00
Peng Li 0e2ba7a5a9 xf86-video-intel-dri2: update PV
PV should be "2.4.97+git${SRCREV}" according to upstream tag
poky.conf: small typo fix
2008-10-29 22:24:48 +08:00
Richard Purdie 47c42b6c30 conf/distro: Create a moblin distro config file based on the Poky one
Also refactor various data into common include files.
2008-10-28 16:34:35 +00:00
Richard Purdie 5e9788247a poky.conf: Fix world excludes typo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5549 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 13:19:42 +00:00
Richard Purdie 78fd54f371 poky.conf: Exclude linsync from world builds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5547 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 12:58:24 +00:00
Richard Purdie a7dea06db0 poky.conf: Update libopensync world exclude list
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5546 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 12:23:27 +00:00
Robert Bragg 10650210e7 Adds support for GEM + DRI2
DRI2 is disabled by default though since running with metacity-clutter seems
to cause a lock up.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5484 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-13 15:23:14 +00:00