summaryrefslogtreecommitdiff
path: root/meta/classes/base.bbclass
AgeCommit message (Collapse)AuthorFiles
2009-11-13base.bbclass: Add special stage keyword to override leagcy modeRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie1
populate_staging task to populate_sysroot This change makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13base/autotools.bbclass: Make sure extra dependencies are not lost for native ↵Richard Purdie1
and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13base.bbclass: Drop import bb and import os as no longer neededRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13base.bbclass: Add an option of forcing the new staging mechanismRichard Purdie1
Add an option of forcing the new staging mechanism for native packages that don't use autotools with the NATIVE_INSTALL_WORKS option Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13base.bbclass: Fix do_populate_staging to operating on TMPDIR, not ↵Richard Purdie1
STAGING_DIR_TARGET Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13classes: Various staging improvement fixupsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13base.bbclass: Rework staging function to use a DESTDIR style configuration ↵Richard Purdie1
based on the data from the do_install step. This falls back to any standard do_stage function if defined, see the mailing list for more info. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13packaged-staging.bbclass: Use a variable for the location of the staging ↵Richard Purdie1
lock file Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13binconfig/pkgconfig.bbclass: Convert staging functions into ↵Richard Purdie1
SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13autotools.bbclass: Separate out useful staging functions into base.bbclass ↵Richard Purdie1
and call from autotools classes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13base.bbclass: Only run do_stage if its been overwritten as the default is ↵Richard Purdie1
empty and its pointless to run it Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17Remove layout_* variablesRichard Purdie1
Remove layout_* variables and replace them with variables specific to the different classes. The layout variables were only useful for the native/cross classes and caused more confusion than they solved. They didn't scale to the sdk class. It now clear a small set of native/cross variables fulfil the needs. This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes sense since we're installing binaries into the locations we're compiling them for. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-26base.bbclass: Don't retrieve SRC_URI when not necessaryDamien Lespiau1
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2009-08-26base.bbclass: packages pulling a mercurial tree should depend on mercurialDamien Lespiau1
As we don't provide a mercurial-native package (yet) let's assume the build machine has it installed and check (sanity.bbclass) if it's the case. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2009-08-25base.bbclass: Use subprocess rather than os.system for do_unpackRichard Purdie1
gzip reports broken pipe errors with do_unpack on Fedora with certain builds of gzip and bash. By avoding python's SIGPIPE handler we can work correctly on these distributions. Patch based on a patch from the OE-devel mailing list, thanks to Khem Raj <raj.khem@gmail.com> and Holger Freyther <zecke@selfish.org> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-19base.bbclass: Update to work with systems where install won't overwrite filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-04-28Merge ssh://gitserver@git.pokylinux.org/pokyRichard Purdie1
2009-03-11base.bbclass: Add subdir feature to SRC_URI entries (from OE)Robert Schuster1
2009-02-05base.bbclass: Use explode_deps from bb.utils and remove the obsolete ↵Richard Purdie1
base.bbclass version
2009-02-05base.bbclass: Move package metadata handling functions into their own class fileRichard Purdie1
2009-01-02base.bbclass: Remove pointless expand callRichard Purdie1
2009-01-02base.bbclass: Add metadata revision handling for git (from OE)Richard Purdie1
2009-01-02base.bbclass: Add unpack handling for .jar files (from OE)Richard Purdie1
2009-01-02bitbake.conf: Create BPN variable containing the pruned version of PN with ↵Richard Purdie1
various suffixes removed and use this for S and FILESPATH. This uses naming from OE but with improved code
2008-11-04base.bbclass: Improve the git proxy syntax to match the http/ftp syntax tooRichard Purdie1
2008-11-04base.bbclass: Set GIT_CONFIG correctlyRichard Purdie1
2008-11-04base.bbclass: Fix whitepsace damageRichard Purdie1
2008-11-04base.bbclass: Create ~/.gitconfig if it doesn't already existRichard Purdie1
2008-11-04linux-simtec: Update simtec1 -> simtec3 and add COMPATIBLE_MACHINERichard Purdie1
2008-10-31base.bbclass: Fix infinite loopRichard Purdie1
2008-10-31base.bbclass: Fix typoRichard Purdie1
2008-10-31base.bbclass: Fix the git config file writing codeRichard Purdie1
2008-10-31base.bbclass: Fix getVar callRichard Purdie1
2008-10-31base.bbclass: Add missing import osRichard Purdie1
2008-10-31base.bbclass: Add missing import bbRichard Purdie1
2008-10-30base.bbclass: Additional git proxy support.Joshua Lock1
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-23base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLsRichard Purdie1
2008-10-20base.bbclass: Output notes only on BB <= 1.8.xRobert Bradford1
With BB > 1.9 the UI can output the details of an event as it chooses. They do not need to be converted into notes. Without this patch spurious messages are generated on BB 1.9. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5540 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07base.bbclass: Add automatic osc-native dependencies for osc:// recipesRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5425 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02base.bbclass: Add read_subpkgdata_dict functionRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-19bitbake.conf: Split STAGING and CROSS to become target specific so armv5 ↵Richard Purdie1
binaries don't mix with armv6 or v7, likewise with the cross compilers themselves. Also move pkgdata our of staging since it follows a totally different directory structure to staging. These changes break ABI so change the ABI number git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4893 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-17Merge multimachine class into bitbake.conf and create singlemachine.bbclass ↵Richard Purdie1
as a backwards compatibility option git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4858 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-29base.bbclass: Disable do_mrproper - it doesn't do anything sane/usefulRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4563 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-12base.bbclass: Add sanity check for multiple file matches to oe_libinstall ↵Richard Purdie1
from OE.dev git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4460 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06base.bbclass: don't add shasum-native dependency if we are building ↵Ross Burton1
shasum-native git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4444 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01base.bbclass: only depend on shasum-native if we don't have hashlibRoss Burton1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01When checksuming tarballs use bb.utils.*_sum instead of calling commands ↵Ross Burton1
directly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4387 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27base.bbclass: Remove unneeded importsRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4356 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27base.bbclass: Add checkuri/checkuriall tasks to check validity of upstream ↵Richard Purdie1
source URLs git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4353 311d38ba-8fff-0310-9ca6-ca027cbcb966