Richard Purdie
2160dddcc1
base.bbclass: Fix after bb.decodeurl was fixed
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-07 21:16:16 +01:00
Joshua Lock
e7fa3529f3
Update classes to use lib/oe
...
Adapt modifications from upstream to make Poky classes use lib/oe for the
common Python functionality.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-06 12:53:16 +01:00
Richard Purdie
14196cb031
base.bbclass: Sync minor layout changes with OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06 12:22:44 +01:00
Richard Purdie
847324b79b
classes/conf: Update to handle gcc-runtime
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-29 22:28:49 +01:00
Richard Purdie
9c5386c1fd
base.bbclass: Split up as per the patch in OE.dev by Chris Larson making code more readable and modularised
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-19 23:12:06 +00:00
Richard Purdie
185cb38f13
base.bbclass: Really drop siteinfo by default
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-19 22:53:21 +00:00
Richard Purdie
fe55fe7a41
base.bbclass: Fix missing argument
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 12:13:32 +00:00
Richard Purdie
1ec852688b
base.bbclass: Fix indentation error
2009-12-18 12:11:42 +00:00
Richard Purdie
22429b6137
base.bbclass: Partially sync branch/scm handling functions with OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 11:41:43 +00:00
Richard Purdie
dfd32b429a
base.bbclass: Stage etc directory for native packages
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-30 15:11:22 +00:00
Richard Purdie
6568a6d8a9
base.bbclass: Drop unused PSTAGE_BROKEN_DESTDIR variable and run sysroot_prehook at the right point
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 22:38:23 +00:00
Richard Purdie
e2677471e6
base.bbclass: Add special stage keyword to override leagcy mode
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 15:37:00 +00:00
Richard Purdie
b772c8cde5
bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the 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-13 12:15:42 +00:00
Richard Purdie
c6f860596c
base/autotools.bbclass: Make sure extra dependencies are not lost for native and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00:00
Richard Purdie
80d55bbd6e
base.bbclass: Drop import bb and import os as no longer needed
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:27 +00:00
Richard Purdie
aaf9b6aa5f
base.bbclass: Add an option of forcing the new staging mechanism
...
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-13 12:15:23 +00:00
Richard Purdie
08d949ee12
base.bbclass: Fix do_populate_staging to operating on TMPDIR, not STAGING_DIR_TARGET
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:23 +00:00
Richard Purdie
379bc4788f
classes: Various staging improvement fixups
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:23 +00:00
Richard Purdie
d7399bd56c
base.bbclass: Rework staging function to use a DESTDIR style configuration 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-13 12:15:23 +00:00
Richard Purdie
a1d93ee326
packaged-staging.bbclass: Use a variable for the location of the staging lock file
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
7c97538327
binconfig/pkgconfig.bbclass: Convert staging functions into SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
6ea78d6489
autotools.bbclass: Separate out useful staging functions into base.bbclass and call from autotools classes
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
764f73a033
base.bbclass: Only run do_stage if its been overwritten as the default is empty and its pointless to run it
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:21 +00:00
Richard Purdie
af85ce4b4e
Remove layout_* variables
...
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-09-17 22:24:36 +01:00
Damien Lespiau
0f2df9e639
base.bbclass: Don't retrieve SRC_URI when not necessary
...
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2009-08-26 00:45:53 +01:00
Damien Lespiau
65bf6c90e6
base.bbclass: packages pulling a mercurial tree should depend on mercurial
...
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-26 00:44:41 +01:00
Richard Purdie
c2b4308119
base.bbclass: Use subprocess rather than os.system for do_unpack
...
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-08-25 16:37:50 +01:00
Richard Purdie
a811131e69
base.bbclass: Update to work with systems where install won't overwrite files
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-19 12:09:21 +01:00
Richard Purdie
3927e38eba
Merge ssh://gitserver@git.pokylinux.org/poky
2009-04-28 08:24:11 +01:00
Robert Schuster
58ffd5a0ed
base.bbclass: Add subdir feature to SRC_URI entries (from OE)
2009-03-11 12:03:25 +01:00
Richard Purdie
be10b46b73
base.bbclass: Use explode_deps from bb.utils and remove the obsolete base.bbclass version
2009-02-05 23:54:11 +00:00
Richard Purdie
c2c16bced8
base.bbclass: Move package metadata handling functions into their own class file
2009-02-05 23:54:11 +00:00
Richard Purdie
01793c5bd3
base.bbclass: Remove pointless expand call
2009-01-02 11:18:42 +00:00
Richard Purdie
3ab2ff7668
base.bbclass: Add metadata revision handling for git (from OE)
2009-01-02 11:09:04 +00:00
Richard Purdie
1d89595e2b
base.bbclass: Add unpack handling for .jar files (from OE)
2009-01-02 10:35:32 +00:00
Richard Purdie
94c895aad5
bitbake.conf: Create BPN variable containing the pruned version of PN with various suffixes removed and use this for S and FILESPATH. This uses naming from OE but with improved code
2009-01-02 10:15:45 +00:00
Richard Purdie
7fdff0f3cd
base.bbclass: Improve the git proxy syntax to match the http/ftp syntax too
2008-11-04 19:13:25 +00:00
Richard Purdie
4c626238e7
base.bbclass: Set GIT_CONFIG correctly
2008-11-04 13:32:35 +00:00
Richard Purdie
66481d67f4
base.bbclass: Fix whitepsace damage
2008-11-04 11:49:06 +00:00
Richard Purdie
2a0c668a9b
base.bbclass: Create ~/.gitconfig if it doesn't already exist
2008-11-04 11:48:12 +00:00
Richard Purdie
51be1fad9c
linux-simtec: Update simtec1 -> simtec3 and add COMPATIBLE_MACHINE
2008-11-04 11:43:33 +00:00
Richard Purdie
efbd5e58d4
base.bbclass: Fix infinite loop
2008-10-31 14:47:22 +00:00
Richard Purdie
af861caace
base.bbclass: Fix typo
2008-10-31 14:40:49 +00:00
Richard Purdie
921cbb2626
base.bbclass: Fix the git config file writing code
2008-10-31 14:38:11 +00:00
Richard Purdie
57fbc64c59
base.bbclass: Fix getVar call
2008-10-31 13:25:04 +00:00
Richard Purdie
175b45b6ec
base.bbclass: Add missing import os
2008-10-31 13:19:10 +00:00
Richard Purdie
d487daccd6
base.bbclass: Add missing import bb
2008-10-31 13:07:04 +00:00
Joshua Lock
d514eeeaec
base.bbclass: Additional git proxy support.
...
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-30 17:52:32 +00:00
Richard Purdie
b8ff2b6cc3
base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLs
2008-10-23 21:08:42 +01:00
Robert Bradford
a8644924ab
base.bbclass: Output notes only on BB <= 1.8.x
...
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-20 11:35:37 +00:00