summaryrefslogtreecommitdiff
path: root/meta/classes
AgeCommit message (Collapse)AuthorFiles
2010-08-17DistroData: Cleanup Version numbers and add DistroData ParserSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-08-17update-rc.d.bbclass: adjust order on tweaking postinstKevin Tian1
So far unlike prerm/postrm, update-rc.d has its own postinst method prepended to pkg_postinst, which may result "System startup links for xxx already exist" warning in the 1st boot of target image. Some pkg_postinst requires to run on the target, and thus prepend here makes update-rc.d method executed twice: one in rootfs creation and the other in the 1st target boot. So adjust the order to append. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-17kernel.bbclass: Fix adding module dependencies to RDEPENDSJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-17cross-canadian.bbclass: Set TOOLCHAIN_OPTIONS to point at the correct sysrootRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-17base.bbclass: Temporarily disable fakeroot for install/package until other ↵Richard Purdie1
fixes get merged Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-13eglibc: import eglibc_2.12 recipe from OENitin A Kamble1
use http proto for svn checkout cosmetic cleanups to metadata Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-08-13kernel-arch: x86-64 is no longer a valid architecture, map it to x86Joshua Lock1
Also use the exported (and re-mapped) ARCH rather than TARGET_ARCH in the linux-wrs recipe. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-13staging.bbclass: mangle *.la for ${base_libdir} tooKevin Tian1
currently staging.bbclass mangle *.la to ensure sysroot prefix attached to dependency_libs if other *.la is referenced, however it only happens on ${libdir}. libpam is special with its libraries under ${base_libdir}. So this extends mangle to ${base_libdir} too Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-13base: Allow unpack to handle localpath=NoneRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12package.bbclass: Document the process followed in the class from a high levelRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12prelink: Enable image wide prelinkingMark Hatle1
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-12pseudo: Upgrade pseudo and correct problemsMark Hatle1
Fix an issue where pseudo could try to compile incorrectly on an x86_64 host system. Now it verifies that it should be trying to build a 32-bit library, and if so the necessary prereqs are available. Also uprev to the latest version of pseudo changes to enable wrapping of execl, local variable storage and misc fixes. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-12utility-tasks.bbclass: Use python functions for do_clean instead of ↵Richard Purdie1
os.system, remove pointless [dirs] flag Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12relocatable.bbclass: Cover libexecdirRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-11meta-ide-support: A dummy recipe to install everthing for target developmentJoshua Lock1
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>
2010-08-11kernel.bbclass: do_deploy should use ${B}, not ${S} (which is what ${B} ↵Richard Purdie1
defaults to) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10package.bbclass: Use --preserve-dates option when stripping kernel modulesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel.bbclass: Exclude scripts/dtc object filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel/package.bbclass: Handle kernel module stripping centrallyRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel.bbclass: Clean up kernel packaging outputRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04pseudo: Change pseudo integration to better support local DBsMark Hatle1
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>
2010-08-04base.bbclass: Enable fakeroot (pseudo) usage during install and packagingMark Hatle1
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>
2010-08-04package_ipk.bbclass: Fix variable nameRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04package_ipk: Clean up initial variablesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04kernel.bbclass: Simplify shell syntax so pysh can cope with itRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04packaged-staging: Fix architecture of nativesdk and cross-canadian packages. ↵Richard Purdie1
Also remove now unneeded path from native packages Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03cross-canadian: Move binaries into a subdirectory of bin to allow ↵Richard Purdie1
multimachine installs and update users accordingly Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03packaged-staing.bbclass: Make sure python function is marked as suchRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-30rootfs_ipk.bbclass: add keyword "Collected errors" for log error checkYu Ke1
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>
2010-07-30staging: Remove now unused legacy staging codeRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-27utility-tasks.bbclass: miscellaneous fixKevin Tian1
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>
2010-07-27cmake: only search root directory for FIND_***Kevin Tian1
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>
2010-07-25cross-canadian.bbclass: Tweak secondary toolchain path component to account ↵Richard Purdie1
for multimachine Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25rm_work.bbclasS: Don't remove the pseudo database as it causes problems with ↵Richard Purdie1
meta-toolchin Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25cross-canadian.bbclass: Add in the target compiler paths as well as the sdk ↵Richard Purdie1
compilers Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25cross-canadian: Fix toolchain pathRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24nativesdk.bbckass: Fix toolchain pathRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-24meta/classes/rootfs_rpm.bbclass: re implement base on rpm5Mark Hatle1
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>
2010-07-24rpm: switch to using RPM 5Joshua Lock1
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>
2010-07-24pseudo: EnhancementsJoshua Lock1
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>
2010-07-23bitbake.conf/cross.bbclass: Inject MULTIMACH_TARGET_SYS into the toolchain ↵Richard Purdie1
paths to prevent multimachine cross contamination Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22package_deb.bbclass: Make sure the controldir is always cleaned outRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22rootfs_ipk: error when dependencies cannot be satisfiedJoshua Lock1
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>
2010-07-22pkgconfig_staging.bbclass: remove itKevin Tian1
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>
2010-07-22stagemanager: Move functionality into the scripts directoryRichard Purdie1
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>
2010-07-22Finally deprecate all legacy do_stage functions. This changes the existing ↵Richard Purdie7
warning into a fatal error if any legacy do_stage functions are found. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-21cmake.bbclass: Make sure EXTRA_OECMAKE has a sane defaultRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-21libproxy: Disabled webkit supportJeff Dike1
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>
2010-07-21Enable build dir outside of the poky directoryJoshua Lock2
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>
2010-07-19qemu/mips: arrange for vmlinux to be bootableBruce Ashfield1
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>