summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2010-06-24cpan_build.bbclass: rename cpan_build_dep_prependChris Larson1
Same reasoning as the {autotools,base}_dep_prepend rename. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-24Rename base_dep_prepend and autotools_dep_prependChris Larson2
When we start including methodpool funcs in the metadata, these blow up, since the _prepend gets evaluated at finalize time. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-24package_ipk: Fix syntax error - incorrect usage of bb.data.expandChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-23packaged-staging.bbclass: Change PSTAGE_PKGARCH to something dynamicTom Rini1
Currently, we make all pstage packages be locked to BUILD_SYS which causes annoying warnings in some cases and doesn't allow for sharing between say 32 and 64bit (which is valid for target bits). We now change to ${PACKAGE_ARCH}-${HOST_OS} for everything except for cross where we need to encode HOST_SYS into the name as well. Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-20siteinfo.bbclass: sorted entries, made indenting consistentFrans Meulenbroeks1
sorted entries alphabetically indented everything properly removed a tab Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-06-20insane.bbclass: minor change: relayouted, sortedFrans Meulenbroeks1
Sorted the entries alphabetically (except for x86_64 which I kept with the intel group). Made sure the tables are all indented the same way. replaced some tabs with spaces Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-06-19testlab: match Package,Version,Archi,Depends,Recom only as first word on lineMartin Jansa1
* otherwise it will pick 'The' ie from line 'Description: The Enlightenment Window Manager Version 17' and mess installed-packages.txt fails: Version_shr-version_1.0-20100512-r0.4_om-gta02.ipk fails: The_e-wm_0.16.999.060+svnr48617-r13.4_armv4t.ipk * this is also fix for missing entries in installed-package-sizes.txt (when find cannot find ipk files for messed package names) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-06-17Indentation fixups, caught by python -tChris Larson6
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-16linux-libc-headers-native: Add, make it a dependency for most native recipesTom Rini1
On some host distributions the provided linux kernel headers are too old to compile utilities we need. Given that we need these utilities to run things on the target the best solution is to provide linux-libc-headers-native. Rather than get things into an inconsistent state, we make linux-libc-headers-native be a default dependency. Acked-by: Leon Woestenberg <leon@sidebranch.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-15gitver.bbclass: fix issue with detached headsCliff Brake1
2010-06-15icecc: also set environment in do_installDmitry Eremin-Solenikov1
Libtool in some packages (e.g. curl) tries to relink libraries during installation stage. If the Icecc environment isn't set in the do_install such relinking fails. Fix this by adding do_install_prepend to icecc.bbclass with set_icecc_env() call. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2010-06-10Drop some unnecessary immediate assignmentsChris Larson3
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10utils.bbclass: set close_fds=True by default for the popen helperChris Larson2
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10Add a rm -rf utility function and use it in packaged-staging.bbclassChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10packaged-staging.bbclass: fix typo, it's PSTAGE_TMPDIR_STAGE, not ↵Chris Larson1
PSTAGE_TMDPDIR_STAGE Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-08insane.bbclass: set PATH before calling desktop-file-validateMartin Jansa1
* otherwise fails on hosts without desktop-file-utils installed, because cannot find binaries from desktop-file-utils-native Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-06-08debian.bbclass: remove unwanted inherit leftover (from trying oe_popen ↵Martin Jansa1
instead setting PATH)
2010-06-08debian.bbclass: call objdump from binutils-crossMartin Jansa1
* host objdump can support multiple targets and instead of output it shows list of targets to choose from see http://thread.gmane.org/gmane.comp.handhelds.openembedded/33294/focus=33357 * PATH set in cmd as suggested by kergoth Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-06-08gitpkgv: newpieterg1
2010-06-07packaged-staging.bbclass: fix issue with no SRC_URICliff Brake1
Currently with srctree, we get errors like the following: | + srcuri= | + '[' '' == '' ']' | + srcuri=OpenEmbedded | + echo 'Source: ' | ++ find /scratch/oe/oe-build/oe/build/angstrom-2008.1/tmp/work/armv5te-angstrom-linux-gnueabi/autotools-demo-1.0-28-g3a96627-r0/staging-pkg '(' -name '*.la' -o -name '*-config' ')' -type f | + stage-manager-ipkg-build -o 0 -g 0 /scratch/oe/oe-build/oe/build/angstrom-2008.1/tmp/work/armv5te-angstrom-linux-gnueabi/autotools-demo-1.0-28-g3a96627-r0/staging-pkg /scratch/oe/oe-build/oe/build/angstrom-2008.1/tmp/pstage/angstromglibc | *** Error: CONTROL/control is missing field Source | The Source field contain the URL's or filenames of the source code and any patches | used to build this package. Either gnu-style tarballs or Debian source packages | are acceptable. Relative filenames may be used if they are distributed in the same | directory as the .ipk file. | | ipkg-build: Please fix the above errors and try again. | ERROR: Function staging_packager failed NOTE: package autotools-demo-1.0-28-g3a96627-r0: task do_package_stage: Failed ERROR: TaskFailed event exception, aborting This patch fixes that issue. Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Koen Kooi <k-kooi@ti.com> Acked-by: Khem Raj <raj.khem@gmail.com
2010-06-07rootfs_ipk/meta-toolchain: Add locking on tasks that add ↵Tom Rini1
package_update_index_ipk We add a lockfile of do_populate_sdk and do_rootfs (in rootfs_ipk) that is also the lockfile that package_update_index_ipk uses. With enough threads it is possible that one image (or meta-toolchain) is attempting to use the package index while another has only reached the point of generating the index leading to an empty index being seen later on. Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Roman I Khimov <khimov@altell.ru> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-05classes/gettext.bbclass: Account for libiconv and libintl too.Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-06-05classes/autotools.bbclass: Dont bail out if gettext/config.rpath does not exist.Khem Raj1
* Add a note if this file does not exist. The reason is that gettext can needs libiconv and libiconv needs gettext so we need to solve this catch 22 Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-06-04amend.bbclass: don't parse same amend.inc if FILESPATH references it ↵Denys Dmytriyenko1
multiple times Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Chris Larson <chris_larson@mentor.com>
2010-06-04icecc.bbclass: fix irt changes in toolchains installationDmitry Eremin-Solenikov1
The installation of toolchains in /cross/ has changed a bit, resulting in failures of icecc.bbclass to find necessary files (libstdc++.so, g++, etc.) Fix that by pointing the class file to libstdc++ in staging and corrent name of target g++. Also correct the name of kernel toolchain tarball. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2010-06-01xfce46: remove checksum name atribute from bbclassMartin Jansa1
* ie xfce-base/libxfce4util_4.6.1.bb cannot find it's checksums anymore * commit e3df76459f7710af61d1b51066e0685c822dbe7b introduced name=archive in xfce46.bbclass without adding archive name to all recipes using xfce46 * I agree that in case someone will need additional SRC_URI item in recipe inheriting xfce46 he will have to add it to this bbclass AND update all recipes using it. * Feel free to fix it the other way around if you expect more SRC_URIs/recipe. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-05-27base.bbclass: fix issue with unpack of patches with apply=noChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-27Revert "patch.bbclass: use param_bool()"Chris Larson1
This reverts commit 7cb990de933f22331cd701ecb45d1e30dd8f3c11.
2010-05-27Revert "base.bbclass: fixed 'apply=no' behavior"Chris Larson1
This reverts commit eb8ad2af3a59dc7b4c64814815fc13977efaec6b.
2010-05-27patch.bbclass: use param_bool()Enrico Scholz1
This patch replaces a complicated if statement with a more simple code. Slightly altered to use oe.utils -kergoth Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-27base.bbclass: fixed 'apply=no' behaviorEnrico Scholz1
After the recent change to autodetect patchfiles in SRC_URI's, files with 'apply=no' were not copied to workdir anymore. This broke e.g. dropbear which marks a patch as 'apply=no' and applies it manually. This patch evaluates content of 'apply' parameter and copies files to workdir when it is not a patch or the parameter is false. Slightly altered to use oe.utils -kergoth Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-27packaged-staging.bbclass: added missing space in find callEnrico Scholz1
Old find statement failed with something like $ find . \( -name XXX\) find: invalid expression; I was expecting to find a ')' somewhere but did not see one. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Acked-by: Chris Larson <clarson@kergoth.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-26patch.bbclass: fix the logic error that resulted in tcp-wrappers patch ↵Chris Larson1
application failures Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-26base.bbclass: make do_unpack also not unpack when 'apply' url parameter is setChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-26image.bbclass: Make zap_root_password to disable root's password not the ↵Khem Raj1
user root itself. * With shadow now running pwconv after commit 7c5f81b2139e55622ca2f23ff6b63438d4825d87 It converts :*: passwd entry into equivalent /etc/shadow entry :*: which in shadow means disable the account as per http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/shadow-file-formats.html As a result root can not login unless one boots into shell and then resets the password. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <clarson@kergoth.com>
2010-05-25Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson1
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson1
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-23autotools.bbclass: drop 'cfgcmd' and 'Running ..' outputChris Larson1
Per discussion with Enrico Scholz, there are better ways to debug problems than this, so drop it, making it more consistent with oe_runmake and ensuring we don't see problems with spaces in arguments. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-23amend.bbclass: load *all* available amend.inc files in FILESPATH, not the firstChris Larson1
While this deviates from ordinary BBPATH/FILESPATH behavior by bitbake and OpenEmbedded, amend.inc is a special case. It's highly unintuitive for someone to create, say, files/busybox/amend.inc relative to TOPDIR, with ${TOPDIR}/files in FILESPATHBASE, and suddenly things break, because that amend.inc overrides one in an overlay. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-21packaged-staging: fixed deadlockEnrico Scholz1
Acked-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-05-20kernel bbclass: switch to u-boot-mkimage-nativeKoen Kooi1
This is a long demanded change. The u-boot-mkimage is up to date to OE standards, while the openmoko one is not
2010-05-19python-dir: raise an Exception instance, not a stringChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-18module-base.bbclass: keep PR if MACHINE_KERNEL_PR is not setEric Bénard1
Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Phil Blundell <philb@gnu.org>
2010-05-18cross.bbclass: fix build of meta-toolchainEric Bénard1
* without this bitbake meta-toolchain fails because it doesn't find who provides gdb-cross-sdk * found thanks to a hint from Phil Blundell on IRC * tested with Angstrom/ARMv5te Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-17cross bbclass: add extra sed for gcc 4.3.x adding -L${STAGING_LIBDIR_NATIVE} ↵Koen Kooi1
to cross libstdc++.la
2010-05-16java-native.bbclass: remove do_stage function, because of ↵Henning Heinold1
NATIVE_INSTALL_WORKS = "1" takes care
2010-05-14java-native.bbclass: silence the legacy staging msgHenning Heinold1
2010-05-14module_strip.bbclass: set KERNEL_MAJOR_VERSIONEric BENARD1
KERNEL_MAJOR_VERSION may not be set (for example when building a module) and this was preventing modules from being stripped. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-05-07kernel.bbclass: fix staging of .configEric Benard1
- in staging.bb : sysroot_stage_dir does : cp -fpPR "$src"/* "$dest" which means it won't copy .config - so do the copy of .config in sysroot_stage_all_append after sysroot_stage_dir Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-05-06native.bbclass: Clear PACKAGES variable when using BBCLASSEXTEND (from poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>