summaryrefslogtreecommitdiff
path: root/meta/classes
AgeCommit message (Collapse)AuthorFiles
2010-09-22meta-ide-support: Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATHDongxiao Xu1
Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH to make them point to the correct directory path. This fixes [BUGID #340]. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-09-17distro data: Update distro data tracking dataSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-16toolchain-scripts: Add POKY_TARGET_SYSROOT variable for SDK usageRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-16toolchain-scripts: Export TARGET_PREFIX and GDB variables for SDK usageRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-13sstate: Trigger generation of siggen info when building sstate packagesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-10autotools: enable siteconfig by defaultJeff Polk1
eglibc glibc ncurses uclibc zlib: remove explicit siteconfig Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
2010-09-10siteinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded pathJeff Polk2
siteconfig: use SITECONFIG_SYSROOTCACHE and use sstate-interceptfuncs Use the new sstate-interceptfuncs functionality to interpose do_siteconfig between the sstate_install and package. Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
2010-09-10sstate: Add sstate-interceptfuncs called between install and packageJeff Polk1
Adds the ability to impose intercept function call(s) after sstate_install and before sstate_package in sstate_task_postfunc. Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
2010-09-10libc-package.bbclass: fix qemu issue with pseudoNitin A Kamble1
This solution is what Mark Hatle recommended. To disable pseudo, while already running, you need to set: PSEUDO_RELOADED=YES, and then exec something... This causes pseudo to disable itself from LD_PRELOAD, and thus fall out of memory on the exec. This Fixes [BUGID #226] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-09-10rootfs_rpm: Fix workaroundMark Hatle1
The exit 0 in the workaround seems to have causes the filesystem creation process to stop. Instead change it to an if that can never succeed. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-08image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTORSaul Wold1
This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to adjust dynamicly how much space to add for each image, thus there is 20% overhead space by default. Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-08kernel.bbclass/linux-wrs: move definition of perf package to kernel classJoshua Lock1
By defining the perf package in the shared kernel class bitbake will be able to find the package provider even when the preferred kernel doesn't build perf, preventing dependency resolution failures. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-08package.bbclass: Ensure all packages package when running a buildRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07sstate: Make sure the sstate function is the last to run, not the firstRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07toolchain-scripts: export extra variables for use by scriptsJoshua Lock1
Export the location of the native sysroot for use in the scripts to determine the location of native binaries. Also add a POKY_DISTRO_VERSION to the external toolchain environment as a method of determining if we're running under a build directory or not i.e. not if the variable is empty Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-03rpm: Fix autoconf/libtool usageMark Hatle3
In order to resolve a host-contamination problem, we re-work the way that autoconf and friends are invoked during the compilation of RPM. This has a side effect of fixing another bug where RPM was being renamed HOST_ARCH-HOST_OS-rpm. So we remove the "fixes" for that behavior as well. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-03rootfs_rpm: Workaround for checksum changesMark Hatle1
With the new checksum changes, the system is no longer able to determine if the function resolve_package is used. So it doesn't get emitted. The workaround resolves this by triggering an exit 0, followed by a bogus usage of the function. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-03task-poky-qt: create a task and add to poky-image-sdkSaul Wold1
Fixes [BUGID #260] Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-03sstate: Handle symlink directory entries correctlyRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-03siteconfig: generate configuration data caches for autoconfJeff Polk2
siteinfo: Use configuration caches when available Generate cached configuration data for autoconf for the package based on a list of header, types, and functions to eliminate the need for all subesequent package builds to do the actual tests via the cross compiler and sysroot. The cache files are stored in the sysroot in ${STAGING_DATADIR}/${TARGET_SYS}_config_site.d. Siteinfo appends any files it finds in that directory to the normal CONFIG_SITE. All of the cache values set the variables only if not already set so they may be overridden by any of the normal site files. Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
2010-09-03rootfs_rpm: Support install_all_localesMark Hatle1
Support installing all locales similarly to how it is done within the ipk support. This has had basic testing, but it's not a normally used function so there could still be some flaws. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-03roots_rpm: Enable installation of recommended packagesMark Hatle2
Within RPM there is a field called "Suggests". This filed behaves like "Recommends" does in ipk. So we write out the packages using the Suggests field with the Poky 'Recommends' values... and then use the arbitrary tags to capture the Poky 'Suggests' within a new "Recommends" tag. Slightly confusing, but the end result is a functioning install. Also some performance enhancements were add at the same time. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-03package_rpm: Start packaging directoriesMark Hatle1
Match ipkg behavior and unconditionally include directories in the packages Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-02package_rpm: Enable debian style tagsMark Hatle1
Enable debian style tags including suggests, enhances, recommends Note, these are not yet used by the dependency resolver. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-02rootfs_rpm: Optimize rpm database processingMark Hatle2
Optimize the creation of the solverdb by disabling fsyncs and database caches that are not used when generating a solution. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-02package_rpm: Enable per file dependenciesMark Hatle2
Switch the per file dependency handing to passing the information to rpm via the standard 'external' dependency scripting. This ensures that the dependencies found by RPM exactly match the ones presented by package.bbclass. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-09-02libc-package.bbclass: merge glibc & eglibc class filesNitin A Kamble1
Other enhancements: print qemu's stdio & error on failure glibc: enable locale generation for all arches eglibc: enable binary locale generation for mips And cleanup of code based on the code review. [e]glibc: move common definition in the common file bitbake was complaining about duplicate definition of get_libc_fpu_setting in eglibc.inc & glibc.inc files. And bump PRs Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-02distro_check: fix for natives, cross, and initial recipe typesSaul Wold1
datetime checking is changed to be once per day Signed-off-by: Saul Wold <Saul.Wold@intel.com> distro_check: fix for natives, cross, and initial recipe types Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-02DistroData: add eventhandler to correctly setup log fileSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-08-31cmake.bbclass: sync from openembeddedQing He1
this fixes: - toolchain detection error (e.g. ar and ranlib) changes from openembedded: - reformatting - cmake modules search path - use 'cat <<EOF' instead of echos for clarity Signed-off-by: Qing He <qing.he@intel.com>
2010-08-31toolchain-scripts.bbclass: inherit siteinfoKevin Tian1
or else 'siteinfo_get_files undefined' error occurs Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-31sstate: fix dir name in manifestKevin Tian1
dir name in manifest is incorrect: /media/disk/builds/master-arm/tmp/sysroots/usr/ /media/disk/builds/master-arm/tmp/sysroots/lib/ /media/disk/builds/master-arm/tmp/sysroots/include/ Also add one debug note when removing manifest entries Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-31sstate: make do_cleanup really workingKevin Tian1
there's a bug in creating manifest_pattern, which means actually with new sstate do_cleanup hasn't worked yet We can use PSTAGE2_MANFILEPREFIX easily for this purpose. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-31meta/classes: Fix whitespace mismatch and broken functionsRichard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27qmake2.bbclass: update for QT4Yu Ke1
qmake2 bbclass is a class to make QT appplication. This commit update qmake2 bbclass for QT4. The code is from OE with minor cleanup. Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-08-27cmake.bbclass: sync from openembeddedQing He1
this fixes: - toolchain detection error (e.g. ar and ranlib) - cmake modules search path Signed-off-by: Qing He <qing.he@intel.com>
2010-08-27base.bbclass: Add xz-native as depends when finding *.xz in SRCURIZhai Edwin1
Just adding xz-native as DEPENDS in one bb file could not make its unpack run after xz-native build done. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-27test: Add scenario file for each target and support single case runningJiajun Xu1
Different test cases are needed for different targets. A folder "scenario" is created under scripts/qemuimage-tests to hold scenario files for different targets. Single case running is supported now. User can run single case together with a whole test suite by setting variable TEST_SCEN in local.conf. By default test cases in sanity suite will be ran. If you want to run other test suite or specific test case(e.g. bat or boot test case under sanity suite), list them like following. TEST_SCEN = "sanity bat sanity:boot" Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
2010-08-27sstate/utility-tasks: Ensure do_clean functions correctly and removes shared ↵Richard Purdie2
state Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27sstate: Run sstate_cleanall() as part of do_setscene()Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-26opkg: finalize the change to var directoryKevin Tian3
commit 1d0757f16beb31551733d9d755d72337ccda9642 changes opkg run state from /usr/lib/opkg to /var/lib/opkg, which however is incomplete and still many important information is kept under old directory including postinst methods. This makes latest boot into a mess. So finalize this movement to /var here. Fix [BUGID #229] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-25sstate: fix architecture of sstate archivesJoshua Lock1
Using TARGET_ARCH as the pacakge architecture for sstate archives lead to some issues when using two machines with different BASE_PACKAGE_ARCH's but the same TARGET_ARCH such as netbook and qemux86 machines. Probable fix for [BUGID #223] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-23package_rpm: Temporary workaround for perfile dependenciesMark Hatle1
Until the pseudo code is fully integrated, we need to roll up the per file dependencies into package dependencies for rpm. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23rootfs_rpm: Enable multi dep solverdbsMark Hatle2
Update package_rpm.bbclass to generate dep solver databases for each package arch. Following the example of the deb and ipk integration Revise the rootfs_rpm to solve the installation based on the multiple dep solvers. Note, recommends, locale and attemptonly pckages are still to be implemented. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23package_rpm: Rewrite the way the spec files are generatedMark Hatle1
Use a single spec file to generate all of the split packages. This allows us to ensure the RPM package source package meta data is correct, and also speeds up the package generation process. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23package.bbclass: Fix per-file dependency generationMark Hatle1
The overall file list was being constructed with the wrong variable, it should have had FLIST in the name. Also it was possible to construct the system with some illegal variable names. Names that would have include "[]". So translate these away... Finally fix an issues where a filename with an _ could cause a package variable conflict. Again translate this away.. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23package.bbclass: Fix shlibs raceRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-23insane.bbclass: Update to match the packaging classes when handling OVERRIDESRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-23package.bbclass: Fix do_shlibsMark Hatle1
The current packages shlibs processing is written to a local temporary file. This file is not consulted when evaluting the provider of the dependency, instead we need to cache the local values into the dictionary while we write the temp file. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23devshell.bbclass: export the FAKEROOTENV so it can be accessed within the ↵Richard Purdie1
devshell task Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>