Commit Graph

62 Commits

Author SHA1 Message Date
Jiajun Xu fd1d661b39 test: add automation framework and sanitytest
Automation test is disabled by default. User need set TESTCLASS
to qemu in conf/local.conf and run bitbake command "bitbake
poky-image-xxx" or "bitbake poky-image-xxx -c qemuimagetest" to
trigger it. Currently only the sanity test with two testcases are
added.

To run the test, user need prepare a testing environment:
1) "expect" should be installed on system
2) NOPASSWD should be set for user to run bitbake

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
2010-07-15 12:48:25 +01:00
Enric Balletbo i Serra d0eabcb633 local.conf.sample: add igep0020 and igep0030 as supported machines.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
2010-07-05 15:49:33 +01:00
Joshua Lock c4a0b5463d sanity.bbclass: version each of the files in the build/conf/ directory
We already have versioning of the local.conf file but it's entirely plausible
for the bblayers.conf and site.conf to change incompatibly so we should version
those too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-07 16:16:35 +01:00
Joshua Lock fbe3d41eb0 Version the build configuration directory
The addition of BBLAYERS changes the build/conf directory to be incompatible
with the "old way" in the Purple release.

As such things are likely to occur in future we should bersion the build/conf
directory through local.conf

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-30 16:25:41 +01:00
Richard Purdie 90040ce7b5 Switch to bblayers configuration
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 18:11:41 +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
Joshua Lock 50ffb99417 packaged-staging: basic support for pulling staging packages from a mirror
Add simple support for trying to fetch staging packages from a http, https  or
ftp mirror if they do not already exist in PSTAGE_DIR.

As documented in local.conf.sample
"Poky can try and fetch packaged-staging packages from a http, https or ftp
mirror. Set this variable to the root of a pstage directory on a server."

If the PSTAGE_MIRROR variable is not set, or the package cannot be found on
the mirror it will be built as usual.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-29 12:33:46 +00:00
Joshua Lock b2c8430898 packaged-staging: Move packaged staging directory outside of DEPLOY_DIR
Rename DEPLOY_DIR_PSTAGE to PSTAGE_DIR and move it outside of deploy.
Do soft assignment of a default variable inside bitbake.conf as
${OEROOT}/tmp/pstage.
Use a separate directory, PSTAGE_WORKDIR, to store transient packaged
staging files such as the stamp files and opkg.conf

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-29 12:33:45 +00:00
Joshua Lock 61d608e518 local.conf: Fix cross canadian variable, it's SDKMACHINE not SDK_ARCH 2009-12-11 17:33:55 +00:00
Joshua Lock bf69b8b737 local.conf: mention the Canadian Cross variable; SDK_ARCH 2009-12-11 14:34:20 +00:00
Joshua Lock 30b6c9b58b local.conf: use qemux86 as default target 2009-12-11 14:24:45 +00:00
Joshua Lock d514eeeaec base.bbclass: Additional git proxy support.
Add to the git proxy support so that the proxy configuration can be propogated to the git config (etc/gitconfig in staging).
Add support for ignored hosts in the git proxy.

Examples in site.conf.sample
2008-10-30 17:52:32 +00:00
Richard Purdie d0e6c71695 local.conf.sample: Append to BBFILES instead of overwriting 2008-10-29 10:41:28 +00:00
Richard Purdie e4aa77e88e scripts/build: Update the git proxy setup instructions 2008-10-23 15:12:41 +01:00
Samuel Ortiz e5c53ce035 netbook: changed platform name from eee901 to netbook
We want to have a more generic platform definition.
The netbook machine one currently supports the eee901 and the aspire one.
We also moved the machine and netbook image definitions to meta-moblin.
2008-10-21 16:01:02 +02:00
Richard Purdie 96a71ae116 local.conf.sample: Make the parallel threads documentation more visible and update with a quadcore example
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5189 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-11 22:41:08 +00:00
Richard Purdie 06b2ec9a81 local.conf.sample: Add comment about eee901
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5182 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-11 14:37:35 +00:00
Richard Purdie f057afbf50 local.conf.sample: Use pokylinux.org
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4626 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-12 10:38:25 +00:00
Robert Bragg 0700c757db renames CVS_TARBALL_STASH to SRC_TARBALL_STASH which does the same thing but
just has a slightly nicer name.



git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4581 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-04 17:04:06 +00:00
Richard Purdie 64d3fee61d local.conf.sample: Don't ASSUME_PROVIDED gcc3-native anymore
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4349 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-25 22:06:25 +00:00
Richard Purdie f73c0e4511 Add site.conf.sample showing examples of proxy server configuration
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4195 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 11:38:42 +00:00
Richard Purdie 96e1d046f6 local.conf.sample: Limit extra packages for mx31ads
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3833 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-20 12:34:35 +00:00
Marcin Juszkiewicz 10e1e2c5af local.conf.sample: added list of supported machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3815 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-15 11:28:09 +00:00
Richard Purdie 48f8cda2c3 Rename gcc-native3 -> gcc3-native for consistency and update sanity.bbclass to account for gcc3 changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3670 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-05 17:27:12 +00:00
Richard Purdie d28ecd2f53 local.conf.sample: Add ASSUME_PROVIDED for gcc-native3
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3611 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-28 23:35:32 +00:00
Richard Purdie 0135bc9e91 local.conf.sample: Remove tools-testapps from mx31phy images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3484 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-14 17:12:04 +00:00
Richard Purdie ed8770a901 Add EXTRA_IMAGE_FEATURES for ease of use in local.conf
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3461 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-10 23:50:30 +00:00
Richard Purdie 03e591a793 local.conf.sample: Limit the features built into c7x0 and mx31phy images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3434 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-09 10:35:01 +00:00
Richard Purdie d3c4717398 local.conf.sample: Update external toolchain documentation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3089 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-07 10:58:31 +00:00
Ross Burton 3b3846951a local.conf.sample: fix typo, tools-dbg -> tools-debug
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2806 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-27 08:54:17 +00:00
Richard Purdie 91b77b4b5a local.conf.sample: Add a note about optionally extending the PKGCONFIG_PATH for native builds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2495 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-14 12:46:44 +00:00
Richard Purdie 6c7c917600 local.conf.sample: Add info about enabling meta-openmoko
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2494 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-14 12:43:17 +00:00
Richard Purdie b14c8cd294 Switch back to using our own qemu binary for locale generation by default
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2424 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-09 10:52:43 +00:00
Richard Purdie fa86980349 local.conf.sample: Document PARALLEL_MAKE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2393 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08 14:18:45 +00:00
Richard Purdie 3378c5d56a local.conf.sample: Fix extras collection comments
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2376 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-07 08:49:14 +00:00
Richard Purdie 009d2a0b7e Use POKYMODE to enable the external toolchain
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2285 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01 13:23:41 +00:00
Richard Purdie eabfa35d7c Rewrite IMAGE_FEATURES tools options (people may be to update their local.conf), split into debug and profiling and add more profiling tools.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2063 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-29 14:31:00 +00:00
Richard Purdie 8cf058f8c1 local.conf.sample: Document external poky toolchain usage
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1837 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-31 14:13:26 +00:00
Richard Purdie ec8e59f043 Allow DISTRO to be overridden from environment
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1372 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-20 17:22:39 +00:00
Richard Purdie 92404e4a2e local.conf.sample: Remove reference to oesources.org.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1142 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-15 12:27:24 +00:00
Richard Purdie 4db17d9cb3 Poky: Switch to use EABI for arm images. Also implies a switch to gcc4, glibc 2.5 and binutils 2.17.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1121 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 21:02:07 +00:00
Richard Purdie f5b38f9db0 Remove DISTRO_TYPE, replacing with IMAGE_FEATURES. Documentation is in local.conf.sample
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1053 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-20 00:00:03 +00:00
Matthew Allum 89e6ea80c5 Add poky-bleeding note
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1044 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-15 19:51:03 +00:00
Matthew Allum 2886028dd9 local.conf.sample doc updates + add ASSUME_PROVIDED += "qemu-native"
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1009 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-05 14:48:50 +00:00
Richard Purdie 081bc9970c local.conf.sample: Allow external override of PACKAGE_CLASSES
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@983 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 14:22:54 +00:00
Richard Purdie ebf771bc5a local.conf.sample: Improve PACKAGE_CLASSES documenation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@952 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-24 17:14:24 +00:00
Richard Purdie 6a9c195935 local.conf.sample: Allow environment to override MACHINE and DL_DIR
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@949 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-23 12:15:52 +00:00
Richard Purdie 7a80caa8f1 local.conf.sample: Add note about BB_NUMBER_THREADS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@939 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-22 15:33:16 +00:00
Matthew Allum a9d203806f Add PACAKGE_CLASSES setting, also list qemux86 as machine type
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@796 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-12 13:05:06 +00:00
Chris Larson bc83fd8803 Rename the supplied default local.conf to local.conf.sample, per mallum's request.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@671 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-29 08:36:28 +00:00