summaryrefslogtreecommitdiff
path: root/meta/classes
Commit message (Collapse)AuthorAgeFilesLines
* utility-tasks.bbclass: Use python functions for do_clean instead of ↵Richard Purdie2010-08-121-6/+4
| | | | | | os.system, remove pointless [dirs] flag Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* relocatable.bbclass: Cover libexecdirRichard Purdie2010-08-121-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta-ide-support: A dummy recipe to install everthing for target developmentJoshua Lock2010-08-111-0/+51
| | | | | | | | | | | Move the environment-setup script generation into a separate class and adapt meta-toolchain to use it. Add a new dummy target, meta-ide-support, to install an appropriately configured script to TMPDIR and ensure all of the required packages for target development are available. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: do_deploy should use ${B}, not ${S} (which is what ${B} ↵Richard Purdie2010-08-111-1/+1
| | | | | | defaults to) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Use --preserve-dates option when stripping kernel modulesRichard Purdie2010-08-101-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Exclude scripts/dtc object filesRichard Purdie2010-08-101-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel/package.bbclass: Handle kernel module stripping centrallyRichard Purdie2010-08-103-25/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Clean up kernel packaging outputRichard Purdie2010-08-101-1/+9
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pseudo: Change pseudo integration to better support local DBsMark Hatle2010-08-041-1/+1
| | | | | | | | | Change the pseudo integration: * Uprev to latest open source version * Restructure the patches to allow for many local DBs, as well as pseudo specific lib dirs. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* base.bbclass: Enable fakeroot (pseudo) usage during install and packagingMark Hatle2010-08-041-0/+11
| | | | | | | | Use the virtual fakeroot program when installing a package and also during packaging. This is important as it allows us to track full permissions, owners, groups and special files generated by packages. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* package_ipk.bbclass: Fix variable nameRichard Purdie2010-08-041-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk: Clean up initial variablesRichard Purdie2010-08-041-22/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Simplify shell syntax so pysh can cope with itRichard Purdie2010-08-041-7/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging: Fix architecture of nativesdk and cross-canadian packages. ↵Richard Purdie2010-08-041-7/+8
| | | | | | Also remove now unneeded path from native packages Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian: Move binaries into a subdirectory of bin to allow ↵Richard Purdie2010-08-031-0/+6
| | | | | | multimachine installs and update users accordingly Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staing.bbclass: Make sure python function is marked as suchRichard Purdie2010-08-031-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_ipk.bbclass: add keyword "Collected errors" for log error checkYu Ke2010-07-301-1/+1
| | | | | | | Once ipk meet errors, the log will show "Collected errors:\n xxxx ". so keyword "Collected errors" is more general to catch errors. Signed-off-by: Yu Ke <ke.yu@intel.com>
* staging: Remove now unused legacy staging codeRichard Purdie2010-07-302-55/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* utility-tasks.bbclass: miscellaneous fixKevin Tian2010-07-271-0/+3
| | | | | | | | Fix parse error with packages such as spectrum-fw whose name has no version string. Later we may have per-recipe option to disable automatic check for those known with troubles, to reduce complexity in this part. Signed-off-by Kevin Tian <kevin.tian@intel.com>
* cmake: only search root directory for FIND_***Kevin Tian2010-07-271-1/+4
| | | | | | | | | | | default cmake behavior for FIND_***, is to first search listed directories prefixed with CMAKE_FIND_ROOT_PATH, and if not found then go to unprefixed directories. This is not desired as build system may be referenced. this commit refine the search path only on prefixed directories, and thus fix libmusicbrains build failure on some systems Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* cross-canadian.bbclass: Tweak secondary toolchain path component to account ↵Richard Purdie2010-07-251-1/+1
| | | | | | for multimachine Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rm_work.bbclasS: Don't remove the pseudo database as it causes problems with ↵Richard Purdie2010-07-251-1/+1
| | | | | | meta-toolchin Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian.bbclass: Add in the target compiler paths as well as the sdk ↵Richard Purdie2010-07-251-1/+1
| | | | | | compilers Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian: Fix toolchain pathRichard Purdie2010-07-251-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* nativesdk.bbckass: Fix toolchain pathRichard Purdie2010-07-241-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta/classes/rootfs_rpm.bbclass: re implement base on rpm5Mark Hatle2010-07-241-91/+67
| | | | | | | | | | | Re implement the rootfs generation using rpm5. This also gets rid of the need for yum, and handles all dep resolving internal to the script itself. The new file scripts/rootfs_rpm-extract-postinst.awk comes from the original yum integration work. It has been unchanged, but since yum is no longer used we needed to move the script somewhere else. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* rpm: switch to using RPM 5Joshua Lock2010-07-241-14/+11
| | | | | | | | | | | | Switch to RPM5 as our rpm provider of choice and update the recipe to the latest stable release. Signed-off-by: Joshua Lock <josh@linux.intel.com> Modify the package_rpm.bbclass to understand the macro and command line changes present in rpm5. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* pseudo: EnhancementsJoshua Lock2010-07-241-0/+1
| | | | | | | | | | | | | Enable changing the data directory on the fly from the environment and then use this feature within poky to confine pseudo usage to each WORKDIR. This fixes issues that could be seen under heavy inode reusage e.g. with rm_work. Work based mainly off a patch from Joshua Lock but finished by Richard Purdie. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/cross.bbclass: Inject MULTIMACH_TARGET_SYS into the toolchain ↵Richard Purdie2010-07-231-2/+6
| | | | | | paths to prevent multimachine cross contamination Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_deb.bbclass: Make sure the controldir is always cleaned outRichard Purdie2010-07-221-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_ipk: error when dependencies cannot be satisfiedJoshua Lock2010-07-221-1/+1
| | | | | | | | Per bpo#109 dependency failure during rootfs generation did not cause an error despite that it would cause errors later on in the process. This patch updates the key phrases searched for in the log checking function. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* pkgconfig_staging.bbclass: remove itKevin Tian2010-07-221-9/+0
| | | | | | | | | | | | this is one existing for stale reason when package's own Makefile doesn't handle .pc correctly. After previous commits to remove unnecessary inheritage on it (sqlite3, libpng), the only remaining is libgcrypt. Libgcrypt itself doesn't ship a .pc and poky generates one. In this case, simply move the manual installation to its own do_install. Then it's safe to remove this class file Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* stagemanager: Move functionality into the scripts directoryRichard Purdie2010-07-221-5/+0
| | | | | | | | Since scripts is now in PATH thanks to the layer functionality there is no longer any need to have this recipe full of special cases, the scripts can just be placed there. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Finally deprecate all legacy do_stage functions. This changes the existing ↵Richard Purdie2010-07-227-87/+22
| | | | | | | | warning into a fatal error if any legacy do_stage functions are found. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cmake.bbclass: Make sure EXTRA_OECMAKE has a sane defaultRichard Purdie2010-07-211-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* libproxy: Disabled webkit supportJeff Dike2010-07-211-1/+1
| | | | | | | | | | | | | This package changed from autoconf to cmake during the last recipe upgrade. This made the existing EXTRA_OECONF, which disabled wekbit support among other things, non-functional, which in turn, broke the build. This patch disables webkit in a CMAKE way by adding EXTRA_OECMAKE to the cmake class description, and setting it to "-DWEBKIT=no" in the libproxy recipe and also reproduces the EXTRA_OECONF settings. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* Enable build dir outside of the poky directoryJoshua Lock2010-07-212-3/+4
| | | | | | | | | | | | | | | | | | You need to first set up the build directory by sourcing the poky build script, after that builds can be run in that directory so long as bitbake is in $PATH removing the need to source the init script for each build. i.e: $ . poky-init-build-env ~/my-build $ bitbake some-image <<later, in a different shell>> $ cd ~/my-build $ export PATH=/path/to/bitbake/bin:$PATH $ bitbake an-image This patch also removes use of OEROOT in recipes, etc. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* qemu/mips: arrange for vmlinux to be bootableBruce Ashfield2010-07-191-1/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qemu: update kernel mapping to return x86 for i586 TARGET_ARCHBruce Ashfield2010-07-191-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cpan-base.bbclass: fix perl version finding functionNitin A Kamble2010-07-161-1/+1
| | | | | | | Now perl version is in two digits like 12 in 5.12.1. Fix the old function to work with multi digit version strings. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* Use pseudo rather than fakeroot for fake root privilegesJoshua Lock2010-07-165-6/+6
| | | | | | | Make use of the ability to configure the fake root provider and use Wind River's pseudo utility. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* staging: fix staging of empty directories and add localstatedirJoshua Lock2010-07-161-2/+10
| | | | | | | | | If a program creates an empty directory during its build it's probably for a good reason, so if it exists it seems sensible to stage it. Some programs require localstatedir to operate so we should be sure to stage it. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.class: print the recipe name in the warning.Nitin A Kamble2010-07-151-1/+2
| | | | | | | | | Now Warning includes the package name like zlib is printed bellow: WARNING: zlib: Recipe file does not have license file information (LIC_FILES_CHKSUM) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* test: add automation framework and sanitytestJiajun Xu2010-07-153-0/+141
| | | | | | | | | | | | | | 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>
* crosssdk.bbclass: Ensure target layout variables are set correctlyRichard Purdie2010-07-151-0/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: move license check to after configureJoshua Lock2010-07-151-5/+8
| | | | | | | Only checking the license at packaging time means we don't check native builds, so move the check to after do_configure Signed-off-by: Joshua Lock <josh@linux.intel.com>
* sanity.bbclass: Fix SDKMACHINE sanity check. We need to check the SDK_ARCH ↵Richard Purdie2010-07-141-2/+2
| | | | | | variable, not SDKMACHINE directly. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* siteinfo.bbclass: add mips-common to mips targetsNitin A Kamble2010-07-081-4/+4
| | | | | | | | | siteinfo_get_files() was broken for mips. It was missing the mips-common site config file for all the mips targets. Fixed it by adding it. This will also fix building of flex recipe on mips. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* utility-tasks.bbclass: add automatic version check for GIT/SVN protoKevin Tian2010-07-081-8/+64
| | | | | | | | | | | | 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>
* insane.bbclass: Relax fatal errors for now until we get have time to work ↵Richard Purdie2010-07-081-0/+1
| | | | | | through the backlog Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>