summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
Commit message (Collapse)AuthorAgeFilesLines
...
* base.bbclass: Fix indentation errorRichard Purdie2009-12-181-2/+2
|
* base.bbclass: Partially sync branch/scm handling functions with OE.devRichard Purdie2009-12-181-34/+38
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Stage etc directory for native packagesRichard Purdie2009-11-301-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Drop unused PSTAGE_BROKEN_DESTDIR variable and run ↵Richard Purdie2009-11-161-3/+1
| | | | | | sysroot_prehook at the right point Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Add special stage keyword to override leagcy modeRichard Purdie2009-11-131-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-131-14/+14
| | | | | | | | | | | | | 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>
* base/autotools.bbclass: Make sure extra dependencies are not lost for native ↵Richard Purdie2009-11-131-0/+2
| | | | | | and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Drop import bb and import os as no longer neededRichard Purdie2009-11-131-23/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Add an option of forcing the new staging mechanismRichard Purdie2009-11-131-0/+2
| | | | | | | 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>
* base.bbclass: Fix do_populate_staging to operating on TMPDIR, not ↵Richard Purdie2009-11-131-1/+1
| | | | | | STAGING_DIR_TARGET Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Various staging improvement fixupsRichard Purdie2009-11-131-10/+9
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Rework staging function to use a DESTDIR style configuration ↵Richard Purdie2009-11-131-9/+59
| | | | | | 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>
* packaged-staging.bbclass: Use a variable for the location of the staging ↵Richard Purdie2009-11-131-0/+1
| | | | | | lock file Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* binconfig/pkgconfig.bbclass: Convert staging functions into ↵Richard Purdie2009-11-131-0/+5
| | | | | | SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Separate out useful staging functions into base.bbclass ↵Richard Purdie2009-11-131-0/+60
| | | | | | and call from autotools classes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Only run do_stage if its been overwritten as the default is ↵Richard Purdie2009-11-131-1/+6
| | | | | | empty and its pointless to run it Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove layout_* variablesRichard Purdie2009-09-171-2/+2
| | | | | | | | | | | | 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>
* base.bbclass: Don't retrieve SRC_URI when not necessaryDamien Lespiau2009-08-261-4/+2
| | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
* base.bbclass: packages pulling a mercurial tree should depend on mercurialDamien Lespiau2009-08-261-0/+7
| | | | | | | | 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>
* base.bbclass: Use subprocess rather than os.system for do_unpackRichard Purdie2009-08-251-2/+10
| | | | | | | | | | | 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>
* base.bbclass: Update to work with systems where install won't overwrite filesRichard Purdie2009-05-191-0/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Merge ssh://gitserver@git.pokylinux.org/pokyRichard Purdie2009-04-281-0/+11
|\
| * base.bbclass: Add subdir feature to SRC_URI entries (from OE)Robert Schuster2009-03-111-0/+11
| |
* | base.bbclass: Use explode_deps from bb.utils and remove the obsolete ↵Richard Purdie2009-02-051-20/+0
| | | | | | | | base.bbclass version
* | base.bbclass: Move package metadata handling functions into their own class fileRichard Purdie2009-02-051-82/+0
|/
* base.bbclass: Remove pointless expand callRichard Purdie2009-01-021-2/+2
|
* base.bbclass: Add metadata revision handling for git (from OE)Richard Purdie2009-01-021-3/+53
|
* base.bbclass: Add unpack handling for .jar files (from OE)Richard Purdie2009-01-021-2/+2
|
* bitbake.conf: Create BPN variable containing the pruned version of PN with ↵Richard Purdie2009-01-021-1/+9
| | | | various suffixes removed and use this for S and FILESPATH. This uses naming from OE but with improved code
* base.bbclass: Improve the git proxy syntax to match the http/ftp syntax tooRichard Purdie2008-11-041-5/+2
|
* base.bbclass: Set GIT_CONFIG correctlyRichard Purdie2008-11-041-5/+3
|
* base.bbclass: Fix whitepsace damageRichard Purdie2008-11-041-3/+3
|
* base.bbclass: Create ~/.gitconfig if it doesn't already existRichard Purdie2008-11-041-1/+3
|
* linux-simtec: Update simtec1 -> simtec3 and add COMPATIBLE_MACHINERichard Purdie2008-11-041-1/+2
|
* base.bbclass: Fix infinite loopRichard Purdie2008-10-311-3/+3
|
* base.bbclass: Fix typoRichard Purdie2008-10-311-2/+2
|
* base.bbclass: Fix the git config file writing codeRichard Purdie2008-10-311-7/+8
|
* base.bbclass: Fix getVar callRichard Purdie2008-10-311-1/+1
|
* base.bbclass: Add missing import osRichard Purdie2008-10-311-0/+1
|
* base.bbclass: Add missing import bbRichard Purdie2008-10-311-0/+1
|
* base.bbclass: Additional git proxy support.Joshua Lock2008-10-301-0/+25
| | | | | | | 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
* base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLsRichard Purdie2008-10-231-1/+1
|
* base.bbclass: Output notes only on BB <= 1.8.xRobert Bradford2008-10-201-2/+6
| | | | | | | | 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
* base.bbclass: Add automatic osc-native dependencies for osc:// recipesRichard Purdie2008-10-071-0/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5425 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Add read_subpkgdata_dict functionRichard Purdie2008-10-021-0/+13
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5389 311d38ba-8fff-0310-9ca6-ca027cbcb966
* bitbake.conf: Split STAGING and CROSS to become target specific so armv5 ↵Richard Purdie2008-07-191-1/+1
| | | | | | 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
* Merge multimachine class into bitbake.conf and create singlemachine.bbclass ↵Richard Purdie2008-07-171-23/+37
| | | | | | as a backwards compatibility option git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4858 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Disable do_mrproper - it doesn't do anything sane/usefulRichard Purdie2008-05-291-12/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4563 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Add sanity check for multiple file matches to oe_libinstall ↵Richard Purdie2008-05-121-0/+9
| | | | | | from OE.dev git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4460 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: don't add shasum-native dependency if we are building ↵Ross Burton2008-05-061-6/+7
| | | | | | shasum-native git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4444 311d38ba-8fff-0310-9ca6-ca027cbcb966